Browse Source

Fixup build errors on `develop` branch. (#12723)

Nick Brassel 5 years ago
parent
commit
f41fc6b70c
3 changed files with 6 additions and 0 deletions
  1. 2 0
      keyboards/monarch/config.h
  2. 1 0
      keyboards/monarch/halconf.h
  3. 3 0
      keyboards/monarch/mcuconf.h

+ 2 - 0
keyboards/monarch/config.h

@@ -46,6 +46,8 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #define BACKLIGHT_BREATHING
 #define BREATHING_PERIOD 6
 
+#define SLEEP_LED_GPT_DRIVER GPTD1
+
 /* define if matrix has ghost */
 //#define MATRIX_HAS_GHOST
 

+ 1 - 0
keyboards/monarch/halconf.h

@@ -21,6 +21,7 @@
 
 #pragma once
 
+#define HAL_USE_GPT TRUE
 #define HAL_USE_PWM TRUE
 
 #include_next <halconf.h>

+ 3 - 0
keyboards/monarch/mcuconf.h

@@ -23,6 +23,9 @@
 
 #include_next <mcuconf.h>
 
+#undef STM32_GPT_USE_TIM1
+#define STM32_GPT_USE_TIM1 TRUE
+
 #undef STM32_PWM_USE_TIM3
 #define STM32_PWM_USE_TIM3 TRUE