Skip to content

Commit

Permalink
🎨 Remove unused usleep
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Dec 27, 2023
1 parent 654e7a8 commit 9d324f7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions Marlin/src/HAL/NATIVE_SIM/u8g/LCD_defines.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@
* Native/Simulator LCD-specific defines
*/

void usleep(uint64_t microsec);

uint8_t u8g_com_sw_spi_fn(u8g_t *u8g, uint8_t msg, uint8_t arg_val, void *arg_ptr);
uint8_t u8g_com_ST7920_sw_spi_fn(u8g_t *u8g, uint8_t msg, uint8_t arg_val, void *arg_ptr);

Expand Down
1 change: 0 additions & 1 deletion Marlin/src/HAL/NATIVE_SIM/u8g/LCD_pin_routines.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ void u8g_SetPinOutput(uint8_t internal_pin_number) { SET_DIR_OUTPUT(internal_pin
void u8g_SetPinInput(uint8_t internal_pin_number) { SET_DIR_INPUT(internal_pin_number); }
void u8g_SetPinLevel(uint8_t pin, uint8_t pin_status) { WRITE_PIN(pin, pin_status); }
uint8_t u8g_GetPinLevel(uint8_t pin) { return READ_PIN(pin); }
void usleep(uint64_t microsec) { assert(false); /* why we here? */ }

#ifdef __cplusplus
}
Expand Down

0 comments on commit 9d324f7

Please sign in to comment.