Remove io_atmega2560.h and some more macros
This commit is contained in:
parent
eb007c35d2
commit
c3abd4ffe6
12 changed files with 79 additions and 452 deletions
Firmware
|
@ -139,7 +139,6 @@
|
|||
#include "sound.h"
|
||||
|
||||
#include "cmdqueue.h"
|
||||
#include "io_atmega2560.h"
|
||||
|
||||
//Macro for print fan speed
|
||||
#define FAN_PULSE_WIDTH_LIMIT ((fanSpeed > 100) ? 3 : 4) //time in ms
|
||||
|
@ -876,7 +875,7 @@ static void check_if_fw_is_on_right_printer(){
|
|||
|
||||
#ifdef PAT9125
|
||||
//will return 1 only if IR can detect filament in bondtech extruder so this may fail even when we have IR sensor
|
||||
const uint8_t ir_detected = !(PIN_GET(IR_SENSOR_PIN));
|
||||
const uint8_t ir_detected = !READ(IR_SENSOR_PIN);
|
||||
if (ir_detected){
|
||||
lcd_show_fullscreen_message_and_wait_P(_i("MK3 firmware detected on MK3S printer"));}////c=20 r=3
|
||||
#endif //PAT9125
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue