Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed a stupid bug in the int to hex conversion.

  • Loading branch information...
commit 770c24241ac2c4df0e48a38bec580f5c24a3a72f 1 parent c99361e
@jaseg authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  util.c
View
2  util.c
@@ -17,7 +17,7 @@ void uart_puthex_nibble(uint8_t nibble){
}
void uart_puthex(uint8_t data){
- uart_puthex_nibble(data>4);
+ uart_puthex_nibble(data>>4);
uart_puthex_nibble(data&0xF);
}
Please sign in to comment.
Something went wrong with that request. Please try again.