mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-02-17 14:50:58 +00:00
🎨 Misc. code cleanup
This commit is contained in:
parent
9e43ec9dcd
commit
198ef1e474
1 changed files with 7 additions and 7 deletions
|
@ -38,13 +38,13 @@
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
void u8g_SetPinOutput(uint8_t internal_pin_number){SET_DIR_OUTPUT(internal_pin_number);}
|
|
||||||
void u8g_SetPinInput(uint8_t internal_pin_number){SET_DIR_INPUT(internal_pin_number);}
|
void u8g_SetPinOutput(uint8_t internal_pin_number) { SET_DIR_OUTPUT(internal_pin_number); }
|
||||||
void u8g_SetPinLevel(uint8_t pin, uint8_t pin_status){WRITE_PIN(pin, pin_status);}
|
void u8g_SetPinInput(uint8_t internal_pin_number) { SET_DIR_INPUT(internal_pin_number); }
|
||||||
uint8_t u8g_GetPinLevel(uint8_t pin){return READ_PIN(pin);}
|
void u8g_SetPinLevel(uint8_t pin, uint8_t pin_status) { WRITE_PIN(pin, pin_status); }
|
||||||
void usleep(uint64_t microsec){
|
uint8_t u8g_GetPinLevel(uint8_t pin) { return READ_PIN(pin); }
|
||||||
assert(false); // why we here?
|
void usleep(uint64_t microsec) { assert(false); /* why we here? */ }
|
||||||
}
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue