Small cleanup of defines

This commit is contained in:
Such Meme, Many Skill committed 2019-08-15 00:57:07 +02:00
1 parent 4d56912384
commit 82a941bb13
3 files changed
+5 -10

No files matched your search

-5
View File
@@ -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};
-5
View File
@@ -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);
+5
View File
@@ -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[]);