fix: disable e-stop — GPIO 0 floats LOW on Makerfabs display board
This commit is contained in:
parent
35d43f3173
commit
9ed3e06fb8
@ -143,6 +143,9 @@ static bool g_estop_active = false;
|
|||||||
static uint32_t g_estop_last_tx = 0;
|
static uint32_t g_estop_last_tx = 0;
|
||||||
|
|
||||||
static void estop_check(void) {
|
static void estop_check(void) {
|
||||||
|
/* E-stop disabled until external button is wired.
|
||||||
|
* GPIO 0 (BOOT) floats LOW on some Makerfabs boards. */
|
||||||
|
return;
|
||||||
bool pressed = (digitalRead(PIN_ESTOP) == LOW);
|
bool pressed = (digitalRead(PIN_ESTOP) == LOW);
|
||||||
|
|
||||||
if (pressed && !g_estop_active) {
|
if (pressed && !g_estop_active) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user