Browse Source

Patch hex_print

Scott Lahteine 3 years ago
parent
commit
b84c69072e
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/libs/hex_print.cpp

+ 1
- 1
Marlin/src/libs/hex_print.cpp View File

@@ -78,7 +78,7 @@ void print_hex_byte(const uint8_t b)         { SERIAL_ECHO(hex_byte(b));    }
78 78
 void print_hex_word(const uint16_t w)        { SERIAL_ECHO(hex_word(w));    }
79 79
 void print_hex_address(const void * const w) { SERIAL_ECHO(hex_address(w)); }
80 80
 
81
-void print_hex_long(const uintptr_t w, const char delimiter) {
81
+void print_hex_long(const uint32_t w, const char delimiter) {
82 82
   SERIAL_ECHOPGM("0x");
83 83
   for (int B = 24; B >= 8; B -= 8){
84 84
     print_hex_byte(w >> B);

Loading…
Cancel
Save