Because people can disable prompt confirmation for e-stop, we should probably require a long press on the e-stop button to avoid it accidentally being activated, we already have long press behaviour for deleting a wifi network, so likely a pretty easy change to make, although I would only have it where prompting is false.
} else if (code == LV_EVENT_LONG_PRESSED) {
Because people can disable prompt confirmation for e-stop, we should probably require a long press on the e-stop button to avoid it accidentally being activated, we already have long press behaviour for deleting a wifi network, so likely a pretty easy change to make, although I would only have it where prompting is false.