Add more power options

Change " % " -> "%" in BuildDisplay().
This commit is contained in:
kevin
2023-07-11 22:38:15 +08:00
parent 65ad29a2ed
commit 1b9fc3f73f
4 changed files with 202 additions and 72 deletions
+7
View File
@@ -1,5 +1,12 @@
#define ON 1
#define OFF 0
#define REVERSE false
#define MAX(x, y) ((x) < (y) ? (y) : (x))
#define MIN(X, Y) ({\
typeof (X) x_ = (X);\
typeof (Y) y_ = (Y);\
(x_ < y_) ? x_ : y_; })
#define TIMER_OFFSET_TIMER (TIMER_500_TICK)
#define TIMER_BW_TIMER (TIMER_500_TICK)