remove unused blink
This commit is contained in:
parent
61a7ca0bde
commit
cb53ad131a
@ -12,12 +12,6 @@ namespace Board {
|
|||||||
pinMode(RESET_PIN, OUTPUT);
|
pinMode(RESET_PIN, OUTPUT);
|
||||||
}
|
}
|
||||||
|
|
||||||
void blink() {
|
|
||||||
digitalWrite(LED_BUILTIN, HIGH);
|
|
||||||
delay(200);
|
|
||||||
digitalWrite(LED_BUILTIN, LOW);
|
|
||||||
}
|
|
||||||
|
|
||||||
void readCommand() {
|
void readCommand() {
|
||||||
if (serialReader.readLine(Serial) > 0) {
|
if (serialReader.readLine(Serial) > 0) {
|
||||||
char* cmd = serialReader.getBuffer();
|
char* cmd = serialReader.getBuffer();
|
||||||
|
|||||||
@ -16,7 +16,6 @@ void runJsonCommand(char* cmd);
|
|||||||
|
|
||||||
|
|
||||||
void setup() {
|
void setup() {
|
||||||
pinMode(LED_BUILTIN, OUTPUT);
|
|
||||||
Serial.begin(9600);
|
Serial.begin(9600);
|
||||||
|
|
||||||
mySwitch.enableReceive(digitalPinToInterrupt(RECEIVE_PIN));
|
mySwitch.enableReceive(digitalPinToInterrupt(RECEIVE_PIN));
|
||||||
@ -29,12 +28,6 @@ void setup() {
|
|||||||
delay(1000);
|
delay(1000);
|
||||||
}
|
}
|
||||||
|
|
||||||
void blink() {
|
|
||||||
digitalWrite(LED_BUILTIN, HIGH);
|
|
||||||
delay(200);
|
|
||||||
digitalWrite(LED_BUILTIN, LOW);
|
|
||||||
}
|
|
||||||
|
|
||||||
Protocol* findProtocol(unsigned int protocol) {
|
Protocol* findProtocol(unsigned int protocol) {
|
||||||
switch (protocol) {
|
switch (protocol) {
|
||||||
case 1:
|
case 1:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user