Compare commits

..

No commits in common. "ec9e9f09ee2ae71c1f753c7526b02cf1f0cf6d96" and "e023b4511880d7e7b21842380ecd204ab38849d8" have entirely different histories.

3 changed files with 1 additions and 5 deletions

View File

@ -353,9 +353,6 @@ void display_standingDisarmedDisplay(ESCSerialComm& escFront, ESCSerialComm& esc
if (control_buttonB){ if (control_buttonB){
display.print(" B"); display.print(" B");
} }
if (button_start_state){
display.print(" S");
}
} }

View File

@ -17,7 +17,7 @@
#include <Adafruit_NeoPixel.h> #include <Adafruit_NeoPixel.h>
#define LED_PIN 20 #define LED_PIN 3
#define LED_COUNT 16 #define LED_COUNT 16
// NeoPixel brightness, 0 (min) to 255 (max) // NeoPixel brightness, 0 (min) to 255 (max)

View File

@ -610,7 +610,6 @@ void readButtons() {
static bool button_start_wait_release_flag=false; static bool button_start_wait_release_flag=false;
bool last_button_start_state=button_start_state; bool last_button_start_state=button_start_state;
if (loopmillis > button_start_lastchange+DEBOUNCE_TIME) { //wait some time after last change if (loopmillis > button_start_lastchange+DEBOUNCE_TIME) { //wait some time after last change
if (digitalRead(PIN_PWRBUTTON) && !button_start_state) { //start engine button pressed and was not pressed before if (digitalRead(PIN_PWRBUTTON) && !button_start_state) { //start engine button pressed and was not pressed before
button_start_state=true; //pressed button_start_state=true; //pressed