forked from Mirrors/usk
publish
This commit is contained in:
parent
7b06aaea8e
commit
8b96a5f4fe
3 changed files with 7 additions and 7 deletions
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
|
|
@ -13,16 +13,16 @@ jobs:
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: sudo apt-get update && sudo apt-get install -y gcc-arm-none-eabi libnewlib-arm-none-eabi build-essential
|
run: sudo apt-get update && sudo apt-get install -y gcc-arm-none-eabi libnewlib-arm-none-eabi build-essential
|
||||||
|
|
||||||
- name: Checkout rehius/usk
|
- name: Checkout DefenderOfHyrule/usk
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
repository: rehius/usk
|
repository: DefenderOfHyrule/usk
|
||||||
path: usk
|
path: usk
|
||||||
|
|
||||||
- name: Checkout rehius/busk
|
- name: Checkout DefenderOfHyrule/busk
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
repository: rehius/busk
|
repository: DefenderOfHyrule/busk
|
||||||
path: busk
|
path: busk
|
||||||
|
|
||||||
- name: Checkout raspberrypi/pico-sdk
|
- name: Checkout raspberrypi/pico-sdk
|
||||||
|
|
|
||||||
2
glitch.c
2
glitch.c
|
|
@ -139,7 +139,7 @@ void inc_tries()
|
||||||
{
|
{
|
||||||
tries += 1;
|
tries += 1;
|
||||||
if(tries & 1)
|
if(tries & 1)
|
||||||
put_pixel(PIX_b);
|
put_pixel(PIX_g);
|
||||||
else
|
else
|
||||||
put_pixel(PIX_gre);
|
put_pixel(PIX_gre);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
4
misc.h
4
misc.h
|
|
@ -1,8 +1,8 @@
|
||||||
#define PIX_gre 0xFF9900
|
#define PIX_gre 0x00FF00
|
||||||
#define PIX_red 0xFF0000
|
#define PIX_red 0xFF0000
|
||||||
#define PIX_whi 0x111111
|
#define PIX_whi 0x111111
|
||||||
|
|
||||||
#define PIX_b 0x00000F
|
#define PIX_g 0x00FF00
|
||||||
|
|
||||||
void put_pixel(uint32_t pixel_grb);
|
void put_pixel(uint32_t pixel_grb);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue