mirror of
https://github.com/No-Chicken/Power-Pico.git
synced 2026-04-03 13:02:36 +08:00
更新格式注释
This commit is contained in:
@@ -49,7 +49,7 @@ uint8_t KeyScan(uint8_t mode)
|
||||
// 松开才有效
|
||||
if ( key_down && KEYB && KEYY && KEYL && KEYR && KEYN )
|
||||
{
|
||||
osDelay(3);//ensure the key
|
||||
osDelay(3); // ensure the key
|
||||
if(KEYB && KEYY && KEYL && KEYR && KEYN)
|
||||
{
|
||||
key_up = 1;
|
||||
|
||||
@@ -124,8 +124,7 @@ static void _ui_Start_animation(void) {
|
||||
void ui_init(void)
|
||||
{
|
||||
lv_disp_t * dispp = lv_display_get_default();
|
||||
lv_theme_t * theme = lv_theme_default_init(dispp, lv_palette_main(LV_PALETTE_BLUE), lv_palette_main(LV_PALETTE_RED),
|
||||
true, LV_FONT_DEFAULT);
|
||||
lv_theme_t * theme = lv_theme_default_init(dispp, lv_palette_main(LV_PALETTE_BLUE), lv_palette_main(LV_PALETTE_RED), true, LV_FONT_DEFAULT);
|
||||
lv_disp_set_theme(dispp, theme);
|
||||
|
||||
// set system settings
|
||||
|
||||
Reference in New Issue
Block a user