mirror of
https://gitee.com/anod/open_agb_firm.git
synced 2025-05-06 22:04:10 +08:00
处理main.c的warning
This commit is contained in:
parent
46ea382e70
commit
3b999e0c44
@ -106,7 +106,7 @@ void keyremix_update( uint16_t active_cheatkey )
|
|||||||
|
|
||||||
if( flags_holding & flag )
|
if( flags_holding & flag )
|
||||||
{
|
{
|
||||||
// up when console keys up
|
// exclude console keys is up
|
||||||
res |= now_release(now, prev_status, p->game_keys) ^ p->game_keys;
|
res |= now_release(now, prev_status, p->game_keys) ^ p->game_keys;
|
||||||
}
|
}
|
||||||
else if( oldf != flags_holding )// release
|
else if( oldf != flags_holding )// release
|
||||||
|
@ -28,8 +28,8 @@
|
|||||||
|
|
||||||
static void setBacklight(void)
|
static void setBacklight(void)
|
||||||
{
|
{
|
||||||
u8 backlightMax;
|
u16 backlightMax;
|
||||||
u8 backlightMin;
|
u16 backlightMin;
|
||||||
if(MCU_getSystemModel() >= 4)
|
if(MCU_getSystemModel() >= 4)
|
||||||
{
|
{
|
||||||
backlightMax=800;
|
backlightMax=800;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user