From 703da1d8c7956490d569812ff6fb80a0e8e7aa2d Mon Sep 17 00:00:00 2001 From: geeksville Date: Fri, 2 Aug 2024 16:28:04 -0700 Subject: [PATCH] Fix build to not use incorrect OneButton version (#4374) * Fix build to not use incorrect OneButton version OneButton pushed out a new update today that has a different API rather than just use whichever new version they push, stay on 2.5.x until someone sees a need to update. Fixes build for wm1100 tracker. * Update stm32.ini * 2.6.1 * Try github tag instead? * Update stm32.ini --------- Co-authored-by: Ben Meadors --- arch/stm32/stm32.ini | 4 ++-- platformio.ini | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/stm32/stm32.ini b/arch/stm32/stm32.ini index 2cea4bbc58..d6d14e2c9a 100644 --- a/arch/stm32/stm32.ini +++ b/arch/stm32/stm32.ini @@ -32,5 +32,5 @@ lib_deps = https://github.com/caveman99/Crypto.git#f61ae26a53f7a2d0ba5511625b8bf8eff3a35d5e lib_ignore = - mathertel/OneButton - Wire \ No newline at end of file + https://github.com/mathertel/OneButton@~2.6.1 + Wire diff --git a/platformio.ini b/platformio.ini index b3f6772470..e60f0d7b93 100644 --- a/platformio.ini +++ b/platformio.ini @@ -86,7 +86,7 @@ monitor_filters = direct lib_deps = jgromes/RadioLib@~6.6.0 https://github.com/meshtastic/esp8266-oled-ssd1306.git#e16cee124fe26490cb14880c679321ad8ac89c95 ; ESP8266_SSD1306 - mathertel/OneButton@^2.5.0 ; OneButton library for non-blocking button debounce + https://github.com/mathertel/OneButton@~2.6.1 ; OneButton library for non-blocking button debounce https://github.com/meshtastic/arduino-fsm.git#7db3702bf0cfe97b783d6c72595e3f38e0b19159 https://github.com/meshtastic/TinyGPSPlus.git#71a82db35f3b973440044c476d4bcdc673b104f4 https://github.com/meshtastic/ArduinoThread.git#1ae8778c85d0a2a729f989e0b1e7d7c4dc84eef0 @@ -155,4 +155,4 @@ lib_deps = mprograms/QMC5883LCompass@^1.2.0 - https://github.com/meshtastic/DFRobot_LarkWeatherStation#dee914270dc7cb3e43fbf034edd85a63a16a12ee \ No newline at end of file + https://github.com/meshtastic/DFRobot_LarkWeatherStation#dee914270dc7cb3e43fbf034edd85a63a16a12ee