Browse Source

🎨 Misc. code cleanup

Scott Lahteine 2 years ago
parent
commit
198ef1e474
1 changed files with 7 additions and 7 deletions
  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 View File

@@ -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…
Cancel
Save