Skip to content
Snippets Groups Projects
Commit 623b9932 authored by Julian Oes's avatar Julian Oes Committed by Lorenz Meier
Browse files

param: lock the bus as short as possible (#5187)

Since the FRAM and the baro are on the same bus on the Pixracer, we
currently need to lock down everything (instead of just this SPI bus)
for the time when the params are written.
Therefore, we need to keep this locking as short as possible.

This change makes the locking even shorter by moving all param_get and
param_name and param_size calls out of the lock.
parent 5710a0c0
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment