Merge pull request #9924 from Jason2866/patch-5

Add compile option for PWM variant
This commit is contained in:
Theo Arends 2020-11-20 11:13:08 +01:00 committed by GitHub
commit 04c5212e4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -93,6 +93,9 @@ platform_packages = framework-arduinoespressif8266 @ https://github.co
build_unflags = ${esp_defaults.build_unflags} build_unflags = ${esp_defaults.build_unflags}
-Wswitch-unreachable -Wswitch-unreachable
build_flags = ${esp82xx_defaults.build_flags} build_flags = ${esp82xx_defaults.build_flags}
; *** Use ONE of the two PWM variants. Tasmota default is Locked PWM
;-DWAVEFORM_LOCKED_PHASE
-DWAVEFORM_LOCKED_PWM
-Wno-switch-unreachable -Wno-switch-unreachable