diff --git a/source/arm11/gfx.c b/source/arm11/gfx.c index 21e0bce..2e67efa 100644 --- a/source/arm11/gfx.c +++ b/source/arm11/gfx.c @@ -168,7 +168,7 @@ !i2c_write_regdata_dev5_dev6(true, false, 0x50, 0x1) || !i2c_write_regdata_dev5_dev6(true, true, 0x60, 0) || !i2c_write_regdata_dev5_dev6(true, true, 1, 0x10)) - return 0; + return 0; return 1; } @@ -198,9 +198,9 @@ { u8 response = i2c_write_echo_read(5, 0x40, 0x62); if(i2c_write_echo_read(6, 0x40, 0x62) != response) - return 0; + return 0; if(response == 1) - return 1; + return 1; return 0; } @@ -213,7 +213,7 @@ for(i=0; i<10; i++) { //if(!gfx_i2c_lcd_finish()) - wait(0x20000); + wait(0x20000); //else break; } @@ -232,7 +232,7 @@ static bool gfxInitDone; if(gfxInitDone) - return; + return; gfxInitDone = true;