HAL_AVR: make _taken volatile

This commit is contained in:
Andrew Tridgell 2013-01-09 20:33:37 +11:00
parent f48790a56e
commit 8e1bee3a5e
1 changed files with 1 additions and 1 deletions

View File

@ -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__