We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eb09380 commit 6e33080Copy full SHA for 6e33080
components/sup/src/sup.c
@@ -74,6 +74,9 @@ static void init_led()
74
75
static void set_one()
76
{
77
+ for (int i = 0; i < 6; i++) {
78
+ gpio_set_level(zero[i], 0);
79
+ }
80
for (int i = 0; i < 2; i++) {
81
gpio_set_level(one[i], 1);
82
}
@@ -92,6 +95,7 @@ static void bts_authorization()
92
95
if (i == 0) {
93
96
if (!bbc_authorized) {
94
97
set_one();
98
+
99
} else {
100
set_zero();
101
0 commit comments