Skip to content

Commit

Permalink
optimizations and color changes
Browse files Browse the repository at this point in the history
  • Loading branch information
DefenderOfHyrule committed Jul 11, 2024
1 parent 5944a49 commit 9c5df5c
Show file tree
Hide file tree
Showing 4 changed files with 1,886 additions and 5 deletions.
2 changes: 1 addition & 1 deletion config.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include "hardware/flash.h"
#define OFFSET_DIV 8
#define OFFSET_MIN 6200
#define OFFSET_MAX 6900
#define OFFSET_MAX 6975

#define VER_HI 2
#define VER_LO 76
Expand Down
2 changes: 1 addition & 1 deletion main.c
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ int main()
// test pins
self_test();
// wait till the CPU has proper power & started reading the eMMC
wait_for_boot(2500);
wait_for_boot(2475);
// 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);
Expand Down
6 changes: 3 additions & 3 deletions misc.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#define PIX_gre 0x8000ff
#define PIX_gre 0x00ff00
#define PIX_red 0xc90000
#define PIX_whi 0x00ffff
#define PIX_whi 0xff00ff

#define PIX_g 0xff0080
#define PIX_g 0x00ff80

void put_pixel(uint32_t pixel_grb);

Expand Down
Loading

0 comments on commit 9c5df5c

Please sign in to comment.