From 1c7156262d87cf30966bf8f4ad0975b0a918a8e8 Mon Sep 17 00:00:00 2001 From: Peter Feerick Date: Sat, 10 Sep 2022 18:45:39 +1000 Subject: [PATCH] feat(x9d): Turn HAPTIC on by default Increases fw size by 996 bytes, but makes moders happy ``` HAPTIC OFF: -rwxr-xr-x 1 root root 492100 Sep 10 08:35 x9d-63d4cb784.bin HAPTIC ON: -rwxr-xr-x 1 root root 493096 Sep 10 08:37 x9d-63d4cb784.bin ``` --- radio/src/targets/taranis/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radio/src/targets/taranis/CMakeLists.txt b/radio/src/targets/taranis/CMakeLists.txt index cd2011e32..deba92379 100644 --- a/radio/src/targets/taranis/CMakeLists.txt +++ b/radio/src/targets/taranis/CMakeLists.txt @@ -101,7 +101,7 @@ elseif(PCB STREQUAL X9D) set(CPU_TYPE_FULL STM32F205xE) # for size report add_definitions(-DSTM32F205xx) set(LINKER_SCRIPT targets/taranis/stm32f2_flash.ld) - option(HAPTIC "Haptic support" OFF) + option(HAPTIC "Haptic support" ON) # While the X9D doesn't have haptic OOTB, it can be added set(LUA_EXPORT lua_export_x9d) add_definitions(-DPCBX9D -DPCBX9) add_definitions(-DEEPROM_VARIANT=0)