Skip to content

Commit

Permalink
Updated for coolant capability flags core change.
Browse files Browse the repository at this point in the history
  • Loading branch information
terjeio committed Mar 30, 2024
1 parent ab895e8 commit 991ad64
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions main/driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -2807,7 +2807,7 @@ bool driver_init (void)
#else
hal.info = "ESP32";
#endif
hal.driver_version = "240310";
hal.driver_version = "240330";
hal.driver_url = GRBL_URL "/ESP32";
#ifdef BOARD_NAME
hal.board = BOARD_NAME;
Expand Down Expand Up @@ -2962,9 +2962,12 @@ bool driver_init (void)

// driver capabilities, used for announcing and negotiating (with the core) driver functionality

#if IOEXPAND_ENABLE || defined(COOLANT_MIST_PIN)
hal.driver_cap.mist_control = On;
#endif
#if IOEXPAND_ENABLE || defined(COOLANT_FLOOD_PIN)
hal.coolant_cap.flood = On;
#endif
#if IOEXPAND_ENABLE || defined(COOLANT_MIST_PIN)
hal.coolant_cap.mist = On;
#endif
hal.driver_cap.software_debounce = On;
hal.driver_cap.step_pulse_delay = On;
hal.driver_cap.amass_level = 3;
Expand Down

0 comments on commit 991ad64

Please sign in to comment.