瀏覽代碼

🎨 Misc. code cleanup

Scott Lahteine 2 年之前
父節點
當前提交
198ef1e474
共有 1 個文件被更改,包括 7 次插入7 次删除
  1. 7
    7
      Marlin/src/HAL/NATIVE_SIM/u8g/LCD_pin_routines.cpp

+ 7
- 7
Marlin/src/HAL/NATIVE_SIM/u8g/LCD_pin_routines.cpp 查看文件

@@ -38,13 +38,13 @@
38 38
 #ifdef __cplusplus
39 39
   extern "C" {
40 40
 #endif
41
-void u8g_SetPinOutput(uint8_t internal_pin_number){SET_DIR_OUTPUT(internal_pin_number);}
42
-void u8g_SetPinInput(uint8_t internal_pin_number){SET_DIR_INPUT(internal_pin_number);}
43
-void u8g_SetPinLevel(uint8_t  pin, uint8_t  pin_status){WRITE_PIN(pin, pin_status);}
44
-uint8_t u8g_GetPinLevel(uint8_t pin){return READ_PIN(pin);}
45
-void usleep(uint64_t microsec){
46
-assert(false); // why we here?
47
-}
41
+
42
+void u8g_SetPinOutput(uint8_t internal_pin_number) { SET_DIR_OUTPUT(internal_pin_number); }
43
+void u8g_SetPinInput(uint8_t internal_pin_number) { SET_DIR_INPUT(internal_pin_number); }
44
+void u8g_SetPinLevel(uint8_t pin, uint8_t pin_status) { WRITE_PIN(pin, pin_status); }
45
+uint8_t u8g_GetPinLevel(uint8_t pin) { return READ_PIN(pin); }
46
+void usleep(uint64_t microsec) { assert(false); /* why we here? */ }
47
+
48 48
 #ifdef __cplusplus
49 49
   }
50 50
 #endif

Loading…
取消
儲存