From 82a941bb133b25d00fe77fc28e6e9565e086f414 Mon Sep 17 00:00:00 2001 From: "Such Meme, Many Skill" Date: Thu, 15 Aug 2019 00:57:07 +0200 Subject: [PATCH] Small cleanup of defines --- source/meme/main.c | 5 ----- source/meme/utils.c | 5 ----- source/meme/utils.h | 5 +++++ 3 files changed, 5 insertions(+), 10 deletions(-) diff --git a/source/meme/main.c b/source/meme/main.c index 7d0f5a7..927614a 100644 --- a/source/meme/main.c +++ b/source/meme/main.c @@ -7,11 +7,6 @@ #include "../libs/fatfs/ff.h" #include "../storage/sdmmc.h" -#define OPTION1 (1 << 0) -#define OPTION2 (1 << 1) -#define OPTION3 (1 << 2) -#define OPTION4 (1 << 3) - void meme_main(){ utils_gfx_init(); static const u32 colors[7] = {COLOR_RED, COLOR_ORANGE, COLOR_YELLOW, COLOR_GREEN, COLOR_BLUE, COLOR_VIOLET, COLOR_DEFAULT}; diff --git a/source/meme/utils.c b/source/meme/utils.c index 1e795ae..0977d3b 100644 --- a/source/meme/utils.c +++ b/source/meme/utils.c @@ -9,11 +9,6 @@ #include "../libs/fatfs/ff.h" #include "../storage/sdmmc.h" -#define OPTION1 (1 << 0) -#define OPTION2 (1 << 1) -#define OPTION3 (1 << 2) -#define OPTION4 (1 << 3) - void utils_gfx_init(){ display_backlight_brightness(100, 1000); gfx_clear_grey(0x1B); diff --git a/source/meme/utils.h b/source/meme/utils.h index 1d2565f..5b46a35 100644 --- a/source/meme/utils.h +++ b/source/meme/utils.h @@ -1,5 +1,10 @@ #pragma once +#define OPTION1 (1 << 0) +#define OPTION2 (1 << 1) +#define OPTION3 (1 << 2) +#define OPTION4 (1 << 3) + void utils_gfx_init(); void utils_waitforpower(); int readfolder(char *items[], unsigned int *muhbits, const char path[]); \ No newline at end of file