summarylogtreecommitdiffstats
path: root/no-libgpio.patch
blob: c6b28d3a9b6075cc518e33112515faa1e2cd19ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff -ura hamclock-4.10.orig/ESPHamClock/ArduinoLib.h hamclock-4.10.new/ESPHamClock/ArduinoLib.h
--- hamclock-4.10.orig/ESPHamClock/ArduinoLib.h	2024-11-30 16:25:57.740178616 -0500
+++ hamclock-4.10.new/ESPHamClock/ArduinoLib.h	2024-11-30 16:27:11.201553340 -0500
@@ -62,9 +62,9 @@
   #elif defined(_IS_LINUX)
     // be prepared for either gpiod or legacy broadcom memory map interface
     #if __has_include(<gpiod.h>)
-        #include <gpiod.h>
-        #define _NATIVE_GPIO_LINUX              // set for either GPIOD or GPIOBC
-        #define _NATIVE_GPIOD_LINUX             // gpiod is sufficiently mature to use
+        // #include <gpiod.h>
+        // #define _NATIVE_GPIO_LINUX              // set for either GPIOD or GPIOBC
+        // #define _NATIVE_GPIOD_LINUX             // gpiod is sufficiently mature to use
     #endif
     #if __has_include(<pigpio.h>)
         #if !defined(_NATIVE_GPIO_LINUX)