修改显示电量的位置,更协调

This commit is contained in:
anod 2022-10-21 12:00:42 +08:00
parent b468fcb64f
commit b1f4828d91

View File

@ -251,7 +251,7 @@ atp_error_t oaf_config_page()
memcpy( base, &g_oafConfig, sizeof(g_oafConfig) ); memcpy( base, &g_oafConfig, sizeof(g_oafConfig) );
OafConfig *prev = (OafConfig*)&base[0]; OafConfig *prev = (OafConfig*)&base[0];
ee_snprintf(title, sizeof(title), "参数配置           当前电量%3d%%", MCU_getBatteryLevel()); ee_snprintf(title, sizeof(title), "参数配置           当前电量:%3d%%", MCU_getBatteryLevel());
atp_error_t res = atp_select( title, 4, config_item, config_adjust, NULL, 0, 0, NULL ); atp_error_t res = atp_select( title, 4, config_item, config_adjust, NULL, 0, 0, NULL );
if( res == ATP_NO_ACTION ) if( res == ATP_NO_ACTION )
{ {