| 232 | }; |
| 233 | |
| 234 | static inline void LightEvent_SetState(LightEvent* event, int state) |
| 235 | { |
| 236 | do |
| 237 | __ldrex(&event->state); |
| 238 | while (__strex(&event->state, state)); |
| 239 | } |
| 240 | |
| 241 | static inline int LightEvent_TryReset(LightEvent* event) |
| 242 | { |
no test coverage detected