浏览代码

Convert f072 backlight build error to message (#8177)

Joel Challis 5 年之前
父节点
当前提交
17ff551275
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      docs/feature_backlight.md
  2. 1 1
      quantum/backlight/backlight_arm.c

+ 1 - 1
docs/feature_backlight.md

@@ -167,7 +167,7 @@ BACKLIGHT_DRIVER = pwm
 
 Currently only hardware PWM is supported, not timer assisted, and does not provide automatic configuration.
 
-?> STMF072 support is being investigated.
+?> Backlight support for STMF072 has had limited testing, YMMV. If unsure, set `BACKLIGHT_ENABLE = no` in your rules.mk.
 
 ### ARM Configuration
 

+ 1 - 1
quantum/backlight/backlight_arm.c

@@ -7,7 +7,7 @@
 #ifdef BACKLIGHT_PIN
 
 #    if defined(STM32F0XX) || defined(STM32F0xx)
-#        error "Backlight support for STMF072 is not available. Please disable."
+#        pragma message("Backlight support for STMF072 has had limited testing, YMMV. If unsure, set 'BACKLIGHT_ENABLE = no' in your rules.mk")
 #    endif
 
 // GPIOV2 && GPIOV3