mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-18 21:30:38 +01:00
Hack to fix the build with Os
This commit is contained in:
@@ -32,7 +32,8 @@ typedef struct {
|
||||
static void perform_instruction(st7586_t * c, instruction_t instruction) {
|
||||
if (instruction.mode == DELAY_MODE) {
|
||||
// FIXME: Should sleep instruction->payload miliseconds
|
||||
for (int i = 0; i < 800*instruction.payload; i++) {
|
||||
// FIXME: This can be optimized away by the compiler!
|
||||
for (volatile int i = 0; i < 800*instruction.payload; i++) {
|
||||
}
|
||||
} else {
|
||||
c->data_command_pin_write(instruction.mode);
|
||||
|
||||
Reference in New Issue
Block a user