Commit 192510ee authored by Lorenz Meier's avatar Lorenz Meier
Browse files

FMUv4 compile fix

parent 084dfb40
......@@ -795,7 +795,7 @@ param_load_default(void)
#if defined (CONFIG_ARCH_BOARD_PX4FMU_V4)
//struct spi_dev_s *dev = nullptr;
irqstate_t state;
irqstate_t irq_state;
#endif
static void
......@@ -816,10 +816,10 @@ param_bus_lock(bool lock)
// we lock like this for Pixracer for now
if (lock) {
state = irqsave();
irq_state = irqsave();
} else {
irqrestore(state);
irqrestore(irq_state);
}
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment