Skip to content

Commit 4f72eb1

Browse files
piussieberthommythomaso
authored andcommitted
sw: small error correction in the print library
1 parent eddba42 commit 4f72eb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sw/lib/src/print.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const char hex_symbols[16] = {'0', '1', '2', '3', '4', '5', '6', '7',
1616
uint8_t format_hex32(char *buffer, uint32_t num) {
1717
uint8_t idx = 0;
1818
if (num == 0) {
19-
buffer[0] == hex_symbols[0];
19+
buffer[0] = hex_symbols[0];
2020
return 1;
2121
}
2222

0 commit comments

Comments
 (0)