From: Jean THOMAS Date: Thu, 11 Jun 2020 11:10:27 +0000 (+0200) Subject: Fix comparison value X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2863b86f4b5338edd75bc992ca4b18e6fd52a489;p=gram.git Fix comparison value --- diff --git a/examples/firmware/main.c b/examples/firmware/main.c index 4ede195..98ecff1 100644 --- a/examples/firmware/main.c +++ b/examples/firmware/main.c @@ -78,11 +78,11 @@ int main(void) { uart_writestr("Writing to 0x"); uart_writeuint32(&ram[i]); uart_write('\n'); - ram[i] = 0xaaaaaaaa; + ram[i] = 0xDEADBEEF; } for (size_t i = 0; i < 1000; i++) { - if (ram[i] != 0xdeadbeef) { + if (ram[i] != 0xDEADBEEF) { uart_writestr("fail : *(0x"); uart_writeuint32(&ram[i]); uart_writestr(") = ");