projects
/
gram.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3849d3
)
Fix comparison value
author
Jean THOMAS
<git0@pub.jeanthomas.me>
Thu, 11 Jun 2020 11:10:27 +0000
(13:10 +0200)
committer
Jean THOMAS
<git0@pub.jeanthomas.me>
Thu, 11 Jun 2020 11:10:27 +0000
(13:10 +0200)
examples/firmware/main.c
patch
|
blob
|
history
diff --git
a/examples/firmware/main.c
b/examples/firmware/main.c
index 4ede1957f60364f53e09ed8da28a28cc5b0902ed..98ecff1a9714e903cac2632fd5ff280594de867b 100644
(file)
--- 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] = 0x
aaaaaaaa
;
+ ram[i] = 0x
DEADBEEF
;
}
for (size_t i = 0; i < 1000; i++) {
- if (ram[i] != 0x
deadbeef
) {
+ if (ram[i] != 0x
DEADBEEF
) {
uart_writestr("fail : *(0x");
uart_writeuint32(&ram[i]);
uart_writestr(") = ");