diff --git a/config.h b/config.h index c14adca..3fc3313 100644 --- a/config.h +++ b/config.h @@ -1,10 +1,10 @@ #include "hardware/flash.h" #define OFFSET_DIV 8 #define OFFSET_MIN 6200 -#define OFFSET_MAX 6975 +#define OFFSET_MAX 6950 #define VER_HI 2 -#define VER_LO 76 +#define VER_LO 77 bool is_configured(); void init_config(); diff --git a/main.c b/main.c index b5c359a..9813277 100644 --- a/main.c +++ b/main.c @@ -106,7 +106,7 @@ int main() // test pins self_test(); // wait till the CPU has proper power & started reading the eMMC - wait_for_boot(2475); + wait_for_boot(2490); // ensure the BCT has not been overwritten by system update bool force_check = fast_check(); was_self_reset = force_button || !is_configured(cid_buf + 1); diff --git a/misc.h b/misc.h index a45e8ef..43dcf66 100644 --- a/misc.h +++ b/misc.h @@ -1,8 +1,8 @@ #define PIX_gre 0x00ff00 #define PIX_red 0xc90000 -#define PIX_whi 0xff00ff +#define PIX_whi 0x8000ff -#define PIX_g 0x00ff80 +#define PIX_g 0x73e600 void put_pixel(uint32_t pixel_grb);