mirror of
https://github.com/bdring/Grbl_Esp32.git
synced 2025-08-28 08:39:51 +02:00
Added some more boot messages.
This commit is contained in:
@@ -295,18 +295,19 @@ void limits_init() {
|
||||
} else {
|
||||
detachInterrupt(pin);
|
||||
}
|
||||
/*
|
||||
// Change to do this once. limits_init() happens often
|
||||
grbl_msg_sendf(CLIENT_SERIAL,
|
||||
MSG_LEVEL_INFO,
|
||||
"%c%s Axis limit switch on pin %s",
|
||||
report_get_axis_letter(axis),
|
||||
gang_index ? "2" : " ",
|
||||
pinName(pin).c_str());
|
||||
*/
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//grbl_msg_sendf(CLIENT_SERIAL, MSG_LEVEL_INFO, "Limit Mask %d", limit_mask);
|
||||
|
||||
// setup task used for debouncing
|
||||
limit_sw_queue = xQueueCreate(10, sizeof(int));
|
||||
xTaskCreate(limitCheckTask,
|
||||
|
@@ -39,7 +39,7 @@
|
||||
#define USE_I2S_OUT
|
||||
// Define USE_I2S_OUT_STREAM if buffering is used.
|
||||
// (there will be a delay between the specified I/O operation and the actual I/O execution)
|
||||
#define USE_I2S_OUT_STREAM
|
||||
//#define USE_I2S_OUT_STREAM
|
||||
#undef USE_RMT_STEPS
|
||||
|
||||
#define USE_STEPSTICK // makes sure MS1,2,3 !reset and !sleep are set
|
||||
|
@@ -35,6 +35,9 @@ void probe_init() {
|
||||
pinMode(PROBE_PIN, INPUT_PULLUP); // Enable internal pull-up resistors. Normal high operation.
|
||||
# endif
|
||||
probe_configure_invert_mask(false); // Initialize invert mask.
|
||||
|
||||
grbl_msg_sendf(CLIENT_SERIAL, MSG_LEVEL_INFO, "Probe on pin %s Inverted:%s", pinName(PROBE_PIN).c_str(), probe_invert->get() ? "Y" : "N");
|
||||
|
||||
#endif
|
||||
}
|
||||
|
||||
|
@@ -424,8 +424,13 @@ void stepper_init() {
|
||||
// make the step pins outputs
|
||||
#ifdef USE_RMT_STEPS
|
||||
grbl_msg_sendf(CLIENT_SERIAL, MSG_LEVEL_INFO, "RMT Steps");
|
||||
#elif defined(USE_I2S_OUT_STREAM)
|
||||
grbl_msg_sendf(CLIENT_SERIAL, MSG_LEVEL_INFO, "I2S Steps");
|
||||
#elif defined(USE_I2S_OUT)
|
||||
# ifdef USE_I2S_OUT_STREAM
|
||||
grbl_msg_sendf(CLIENT_SERIAL, MSG_LEVEL_INFO, "I2S Steps, Stream");
|
||||
# else
|
||||
grbl_msg_sendf(CLIENT_SERIAL, MSG_LEVEL_INFO, "I2S Steps, Static");
|
||||
# endif
|
||||
|
||||
#else
|
||||
grbl_msg_sendf(CLIENT_SERIAL, MSG_LEVEL_INFO, "Timed Steps");
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user