Browse Source

Patch hex_print

Scott Lahteine 4 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
 void print_hex_word(const uint16_t w)        { SERIAL_ECHO(hex_word(w));    }
78
 void print_hex_word(const uint16_t w)        { SERIAL_ECHO(hex_word(w));    }
79
 void print_hex_address(const void * const w) { SERIAL_ECHO(hex_address(w)); }
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
   SERIAL_ECHOPGM("0x");
82
   SERIAL_ECHOPGM("0x");
83
   for (int B = 24; B >= 8; B -= 8){
83
   for (int B = 24; B >= 8; B -= 8){
84
     print_hex_byte(w >> B);
84
     print_hex_byte(w >> B);

Loading…
Cancel
Save