Undo No changes

This commit is contained in:
Jaby
2024-06-01 21:52:38 +02:00
parent d36876b17c
commit cc92b848f9
4 changed files with 7 additions and 7 deletions

View File

@@ -15,12 +15,12 @@ namespace JabyEngine {
Error,
};
extern State current_state;
extern volatile uint8_t cmd_interrupt_bit;
extern State current_state;
extern uint8_t cmd_interrupt_bit;
struct Command {
static void wait_completed() {
while(cmd_interrupt_bit > 0);
while(const_cast<volatile uint8_t&>(cmd_interrupt_bit) > 0);
}
template<typename...ARGS>