✨ M261 S I2C output format (#22890)

Co-authored-by: Scott Lahteine <github@thinkyhead.com>
This commit is contained in:
Stuart PittawayandScott Lahteine authored and Scott Lahteine committed 2021-12-25 00:45:05 -06:00
1 parent 64128a5bcb
commit f3be03da20
4 files changed
+64 -16

No files matched your search

+1 -1
View File
@@ -27,7 +27,7 @@
// Utility functions to create and print hex strings as nybble, byte, and word.
//
FORCE_INLINE char hex_nybble(const uint8_t n) {
constexpr char hex_nybble(const uint8_t n) {
return (n & 0xF) + ((n & 0xF) < 10 ? '0' : 'A' - 10);
}
char* hex_byte(const uint8_t b);