Fix -Wsign-compare warnings

This commit is contained in:
Luke Wren
2021-02-11 15:50:05 +00:00
committed by graham sanderson
parent 6d272c056a
commit 2a243a33e2
6 changed files with 9 additions and 9 deletions

View File

@ -151,8 +151,8 @@ void multicore_launch_core1_raw(void (*entry)(void), uint32_t *sp, uint32_t vect
} while (seq < count_of(cmd_sequence));
}
#define LOCKOUT_MAGIC_START 0x73a8831e
#define LOCKOUT_MAGIC_END (LOCKOUT_MAGIC_START ^ -1)
#define LOCKOUT_MAGIC_START 0x73a8831eu
#define LOCKOUT_MAGIC_END (~LOCKOUT_MAGIC_START)
static_assert(SIO_IRQ_PROC1 == SIO_IRQ_PROC0 + 1, "");