projects
/
pihpsdr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d63d625
)
Fixed reference ENABLE_CW_BUTTNS AND ENABLE_GPIO_SIDETONE when LOCALCW not defined
author
John Melton G0ORX
<john.d.melton@googlemail.com>
Wed, 20 May 2020 13:06:49 +0000
(14:06 +0100)
committer
John Melton G0ORX
<john.d.melton@googlemail.com>
Wed, 20 May 2020 13:06:49 +0000
(14:06 +0100)
gpio.c
patch
|
blob
|
history
diff --git
a/gpio.c
b/gpio.c
index d6d22d692bc2bfdb44905838fdc58c2c9caf1b38..4a48aad472fe58bba4b37994a5ff9a1695d9284d 100644
(file)
--- a/
gpio.c
+++ b/
gpio.c
@@
-1330,6
+1330,7
@@
void gpio_restore_state() {
}
+#ifdef LOCALCW
if(controller==CONTROLLER2_V2) {
//
// In Controller2 V2, no 'free' GPIO pins
@@
-1339,6
+1340,7
@@
void gpio_restore_state() {
ENABLE_CW_BUTTONS=0;
ENABLE_GPIO_SIDETONE=0;
}
+#endif
}