mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-25 01:03:59 -04:00
HAL_AVR: make _taken volatile
This commit is contained in:
parent
f48790a56e
commit
8e1bee3a5e
@ -17,7 +17,7 @@ protected:
|
||||
bool _take_from_mainloop(uint32_t timeout_ms);
|
||||
bool _take_nonblocking();
|
||||
|
||||
bool _taken;
|
||||
volatile bool _taken;
|
||||
};
|
||||
|
||||
#endif // __AP_HAL_AVR_SEMAPHORES_H__
|
||||
|
Loading…
Reference in New Issue
Block a user