]> Johnzone git - FakeRadio.git/commitdiff
switch PUD off at the end
authorJohn Janus <mail@johnzone.org>
Fri, 6 Oct 2017 09:05:17 +0000 (11:05 +0200)
committerJohn Janus <mail@johnzone.org>
Fri, 6 Oct 2017 09:05:17 +0000 (11:05 +0200)
simple_try.c

index fdfaa6b146a3dc58bc7fc86014eef550c408bd30..32f429889255de368181fef0638f75e0c5778916 100644 (file)
@@ -194,9 +194,9 @@ int main(void) {
     digitalWrite(CHNL1LED, HIGH);
     digitalWrite(CHNL2LED, HIGH);
     digitalWrite(INTROLED, HIGH);
-    pullUpDnControl(PWRBTN, PUD_DOWN);
-    pullUpDnControl(CHNL1BTN, PUD_DOWN);
-    pullUpDnControl(CHNL2BTN, PUD_DOWN);
-    pullUpDnControl(INTROBTN, PUD_DOWN);
+    pullUpDnControl(PWRBTN, PUD_OFF);
+    pullUpDnControl(CHNL1BTN, PUD_OFF);
+    pullUpDnControl(CHNL2BTN, PUD_OFF);
+    pullUpDnControl(INTROBTN, PUD_OFF);
 }