refactor(backlight): code cleanup

This commit is contained in:
Alessandro Bortolin
2021-12-20 11:00:22 +01:00
committed by Pete Johanson
parent 5614a8bb80
commit ce843825e8
7 changed files with 67 additions and 133 deletions

View File

@@ -4,16 +4,16 @@
* SPDX-License-Identifier: MIT
*/
#define BL_TOG_CMD 0
#define BL_ON_CMD 1
#define BL_OFF_CMD 2
#define BL_ON_CMD 0
#define BL_OFF_CMD 1
#define BL_TOG_CMD 2
#define BL_INC_CMD 3
#define BL_DEC_CMD 4
#define BL_SET_CMD 5
#define BL_TOG BL_TOG_CMD 0
#define BL_ON BL_ON_CMD 0
#define BL_OFF BL_OFF_CMD 0
#define BL_TOG BL_TOG_CMD 0
#define BL_INC BL_INC_CMD 0
#define BL_DEC BL_DEC_CMD 0
#define BL_SET BL_SET_CMD