Skip to content

Commit 4b7841f

Browse files
authored
chore: remove unused vars (#57)
* chore: remove unused vars * fixup jobs
1 parent 4261dac commit 4b7841f

File tree

3 files changed

+10
-8
lines changed

3 files changed

+10
-8
lines changed

.github/workflows/arduino-report.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
on:
2+
push:
3+
branches:
4+
- main
5+
pull_request:
26
schedule:
37
- cron: '*/5 * * * *'
48
jobs:

.github/workflows/arduino.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: arduino
2-
on: [ push, pull_request ]
2+
on:
3+
push:
4+
branches:
5+
- main
6+
pull_request:
37

48
jobs:
59
build-for-esp32:

bitcoinSwitch/bitcoinSwitch.ino

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,6 @@ int config_threshold_time;
1111

1212
String apiUrl = "/api/v1/ws/";
1313

14-
// length of switch device id
15-
// 7dhdyJ9bbZNWNVPiFSdmb5
16-
int uidLength = 22;
17-
18-
bool paid;
19-
long thresholdSum = 0;
20-
2114
WebSocketsClient webSocket;
2215

2316
void setup() {
@@ -108,6 +101,7 @@ void executePayment(uint8_t *payload) {
108101

109102
}
110103

104+
// long thresholdSum = 0;
111105
// void executeThreshold() {
112106
// StaticJsonDocument<1900> doc;
113107
// DeserializationError error = deserializeJson(doc, payloadStr);

0 commit comments

Comments
 (0)