From 0f06693fb14002f9825430ac8ba708904a5ce332 Mon Sep 17 00:00:00 2001 From: DefenderOfHyrule <11156197+DefenderOfHyrule@users.noreply.github.com> Date: Mon, 8 Jul 2024 11:12:52 +0200 Subject: [PATCH] publish --- main.c | 4 ++-- misc.h | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/main.c b/main.c index 8a57136..3c1313b 100644 --- a/main.c +++ b/main.c @@ -34,7 +34,7 @@ void rewrite_payload() { put_pixel(PIX_whi); write_payload(); - put_pixel(PIX_red); + put_pixel(PIX_gre); // used to automatically rewrite payload when eMMC/console changes init_config(cid_buf + 1); } @@ -102,7 +102,7 @@ int main() // is chip reset required bool force_button = detect_by_pull_up(1, 0); // start LED - put_pixel(PIX_gre); + put_pixel(PIX_red); // test pins self_test(); // wait till the CPU has proper power & started reading the eMMC diff --git a/misc.h b/misc.h index 0b7a456..7a36dc3 100644 --- a/misc.h +++ b/misc.h @@ -1,6 +1,6 @@ -#define PIX_gre 0x00FF00 -#define PIX_red 0xFF0000 -#define PIX_whi 0x111111 +#define PIX_gre 0x32ae00 +#define PIX_red 0xc90000 +#define PIX_whi 0xffffff #define PIX_g 0x008000