add animation while charging

- add 5x7 font
- add animation
- display version after the animation end
- add BOOT state for switching to normal mode while charging
This commit is contained in:
Dien-Nhung Nguyen-Phu
2024-09-29 09:34:49 +07:00
parent 12ce17a6cd
commit 907bf59055
7 changed files with 167 additions and 9 deletions

View File

@@ -4,6 +4,7 @@
#include "res/foss-asia-2.xbm"
#include "res/bat-icon.xbm"
#include "res/bat-warn-icon.xbm"
#include "res/fossasia-badgemagic-ani.xbm"
xbm_t bluetooth = {
.bits = bluetooth_bits,
@@ -31,4 +32,11 @@ xbm_t batwarn_xbm = {
.w = bat_warn_icon_width,
.h = bat_warn_icon_height,
.fh = 11
};
xbm_t fabm_xbm = {
.bits = fossasia_badgemagic_ani_bits,
.w = fossasia_badgemagic_ani_width,
.h = fossasia_badgemagic_ani_height,
.fh = 11
};