Refactor cannonkeys f103 boards to use core backlight (#8089)

* Refactor to use core backlight

* Remove custom implementation
This commit is contained in:
Joel Challis
2020-04-06 21:10:30 +01:00
committed by GitHub
parent 9bfa713421
commit 7901006753
13 changed files with 24 additions and 285 deletions

View File

@@ -33,6 +33,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { B12, C13, A2, A1 }
#define DIODE_DIRECTION COL2ROW
#define BACKLIGHT_PIN A8
#define BACKLIGHT_PWM_DRIVER PWMD1
#define BACKLIGHT_PWM_CHANNEL 1
#define BACKLIGHT_LEVELS 6
#define BACKLIGHT_BREATHING
#define BREATHING_PERIOD 6
@@ -57,8 +60,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define WS2812_SPI SPID2
/*
* Feature disable options
* These options are also useful to firmware size reduction.