Undo No changes
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user