From 0f10d494b1415c868abb5e8ca37f32a477ec111c Mon Sep 17 00:00:00 2001 From: Toxa Date: Fri, 12 Jan 2024 18:15:33 +0300 Subject: [PATCH] eliminate warning in the gbdk_player_example --- gbdk_example/src/gbdk_player_example.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gbdk_example/src/gbdk_player_example.c b/gbdk_example/src/gbdk_player_example.c index 9133949..0b2c4fb 100644 --- a/gbdk_example/src/gbdk_player_example.c +++ b/gbdk_example/src/gbdk_player_example.c @@ -10,7 +10,7 @@ const unsigned char pattern1[] = {0x80,0x80,0x40,0x40,0x20,0x20,0x10,0x10,0x08,0 const unsigned char pattern2[] = {0x00,0x00,0x7E,0x7E,0x40,0x40,0x54,0x54,0x48,0x48,0x54,0x54,0x40,0x40,0x00,0x00}; const unsigned char map[] = {0x00,0x20}; -void main() { +void main(void) { LCDC_REG = 0xD1; BGP_REG = 0b11100100; NR52_REG = 0x80;