Browse Source

🎨 misc. cleanup

FB4S_WIFI
Scott Lahteine 3 years ago
committed by Scott Lahteine
parent
commit
a81fd009f0
  1. 6
      Marlin/src/HAL/NATIVE_SIM/u8g/LCD_pin_routines.cpp
  2. 1
      Marlin/src/module/motion.cpp

6
Marlin/src/HAL/NATIVE_SIM/u8g/LCD_pin_routines.cpp

@ -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_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_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); } 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); } uint8_t u8g_GetPinLevel(uint8_t pin) { return READ_PIN(pin); }
void usleep(uint64_t microsec){ void usleep(uint64_t microsec) { assert(false); /* why we here? */ }
assert(false); // why we here?
}
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif

1
Marlin/src/module/motion.cpp

@ -237,7 +237,6 @@ void report_current_position_projected() {
} }
#if ENABLED(AUTO_REPORT_POSITION) #if ENABLED(AUTO_REPORT_POSITION)
//struct PositionReport { void report() { report_current_position_projected(); } };
AutoReporter<PositionReport> position_auto_reporter; AutoReporter<PositionReport> position_auto_reporter;
#endif #endif

Loading…
Cancel
Save