From 2863b86f4b5338edd75bc992ca4b18e6fd52a489 Mon Sep 17 00:00:00 2001 From: Jean THOMAS Date: Thu, 11 Jun 2020 13:10:27 +0200 Subject: [PATCH] Fix comparison value --- examples/firmware/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(") = "); -- 2.30.2