浏览代码

Patch hex_print

Scott Lahteine 4 年前
父节点
当前提交
b84c69072e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      Marlin/src/libs/hex_print.cpp

+ 1
- 1
Marlin/src/libs/hex_print.cpp 查看文件

@@ -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);

正在加载...
取消
保存