mirror of
https://github.com/suchmememanyskill/TegraExplorer.git
synced 2024-11-22 20:06:43 +00:00
Small cleanup of defines
This commit is contained in:
parent
4d56912384
commit
82a941bb13
3 changed files with 5 additions and 10 deletions
|
@ -7,11 +7,6 @@
|
||||||
#include "../libs/fatfs/ff.h"
|
#include "../libs/fatfs/ff.h"
|
||||||
#include "../storage/sdmmc.h"
|
#include "../storage/sdmmc.h"
|
||||||
|
|
||||||
#define OPTION1 (1 << 0)
|
|
||||||
#define OPTION2 (1 << 1)
|
|
||||||
#define OPTION3 (1 << 2)
|
|
||||||
#define OPTION4 (1 << 3)
|
|
||||||
|
|
||||||
void meme_main(){
|
void meme_main(){
|
||||||
utils_gfx_init();
|
utils_gfx_init();
|
||||||
static const u32 colors[7] = {COLOR_RED, COLOR_ORANGE, COLOR_YELLOW, COLOR_GREEN, COLOR_BLUE, COLOR_VIOLET, COLOR_DEFAULT};
|
static const u32 colors[7] = {COLOR_RED, COLOR_ORANGE, COLOR_YELLOW, COLOR_GREEN, COLOR_BLUE, COLOR_VIOLET, COLOR_DEFAULT};
|
||||||
|
|
|
@ -9,11 +9,6 @@
|
||||||
#include "../libs/fatfs/ff.h"
|
#include "../libs/fatfs/ff.h"
|
||||||
#include "../storage/sdmmc.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(){
|
void utils_gfx_init(){
|
||||||
display_backlight_brightness(100, 1000);
|
display_backlight_brightness(100, 1000);
|
||||||
gfx_clear_grey(0x1B);
|
gfx_clear_grey(0x1B);
|
||||||
|
|
|
@ -1,5 +1,10 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#define OPTION1 (1 << 0)
|
||||||
|
#define OPTION2 (1 << 1)
|
||||||
|
#define OPTION3 (1 << 2)
|
||||||
|
#define OPTION4 (1 << 3)
|
||||||
|
|
||||||
void utils_gfx_init();
|
void utils_gfx_init();
|
||||||
void utils_waitforpower();
|
void utils_waitforpower();
|
||||||
int readfolder(char *items[], unsigned int *muhbits, const char path[]);
|
int readfolder(char *items[], unsigned int *muhbits, const char path[]);
|
Loading…
Reference in a new issue