Kaynağa Gözat

🐛 Fix laser/fan sync (#24460)

Followup to #22690, 307dfb15
Mike La Spina 2 yıl önce
ebeveyn
işleme
d924d17209

+ 1
- 1
Marlin/src/lcd/menu/menu_item.h Dosyayı Görüntüle

542
 
542
 
543
   inline void on_fan_update() {
543
   inline void on_fan_update() {
544
     thermalManager.set_fan_speed(MenuItemBase::itemIndex, editable.uint8);
544
     thermalManager.set_fan_speed(MenuItemBase::itemIndex, editable.uint8);
545
-    TERN_(LASER_SYNCHRONOUS_M106_M107, planner.buffer_sync_block(BLOCK_FLAG_SYNC_FANS));
545
+    TERN_(LASER_SYNCHRONOUS_M106_M107, planner.buffer_sync_block(BLOCK_BIT_SYNC_FANS));
546
   }
546
   }
547
 
547
 
548
   #if ENABLED(EXTRA_FAN_SPEED)
548
   #if ENABLED(EXTRA_FAN_SPEED)

+ 2
- 2
buildroot/tests/mega2560 Dosyayı Görüntüle

188
         MANUAL_FEEDRATE '{ 50*60, 50*60, 4*60 }' \
188
         MANUAL_FEEDRATE '{ 50*60, 50*60, 4*60 }' \
189
         AXIS_RELATIVE_MODES '{ false, false, false }'
189
         AXIS_RELATIVE_MODES '{ false, false, false }'
190
 opt_enable REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER SDSUPPORT EEPROM_SETTINGS EEPROM_BOOT_SILENT EEPROM_AUTO_INIT MEATPACK_ON_SERIAL_PORT_1 \
190
 opt_enable REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER SDSUPPORT EEPROM_SETTINGS EEPROM_BOOT_SILENT EEPROM_AUTO_INIT MEATPACK_ON_SERIAL_PORT_1 \
191
-           LASER_FEATURE LASER_SAFETY_TIMEOUT_MS LASER_COOLANT_FLOW_METER AIR_EVACUATION AIR_EVACUATION_PIN AIR_ASSIST AIR_ASSIST_PIN
192
-exec_test $1 $2 "MEGA2560 RAMPS | Laser Feature | Air Evacuation | Air Assist | Cooler | Flowmeter | 12864 LCD | meatpack | Laser Safety Timeout | M3 Power Sync | Trap Power Smoothing | SERIAL_PORT_2 " "$3"
191
+           LASER_FEATURE LASER_SAFETY_TIMEOUT_MS LASER_COOLANT_FLOW_METER AIR_EVACUATION AIR_EVACUATION_PIN AIR_ASSIST AIR_ASSIST_PIN LASER_SYNCHRONOUS_M106_M107
192
+exec_test $1 $2 "MEGA2560 RAMPS | Laser Options | 12864 | Meatpack | Fan Sync | SERIAL_PORT_2 " "$3"
193
 
193
 
194
 #
194
 #
195
 # Test Laser features with 44780 LCD
195
 # Test Laser features with 44780 LCD

Loading…
İptal
Kaydet