Remove/fix unused stuff and other warnings
This commit is contained in:
@ -8,34 +8,6 @@
|
||||
|
||||
Term TERM;
|
||||
|
||||
static uint32_t ansi_colours[8] = {
|
||||
0xFFFFFBF0,
|
||||
0xFFE64C4C,
|
||||
0xFF4CAF50,
|
||||
0xFFCC9900,
|
||||
0xFF337AB7,
|
||||
0xFF9B59B6,
|
||||
0xFF0097A7,
|
||||
0xFF555555
|
||||
};
|
||||
|
||||
static uint32_t ansi_bright_colours[8] = {
|
||||
0xFFBFB9AA,
|
||||
0xFFFF6B6B,
|
||||
0xFF66BB6A,
|
||||
0xFFFFC107,
|
||||
0xFF42A5F5,
|
||||
0xFFBA68C8,
|
||||
0xFF26C6DA,
|
||||
0xFF000000
|
||||
};
|
||||
|
||||
// defaults
|
||||
static uint32_t default_bg = 0xFFFFFBF0;
|
||||
static uint32_t default_fg = 0xFF222222;
|
||||
static uint32_t default_bg_bright = 0xFFFFFBF0;
|
||||
static uint32_t default_fg_bright = 0xFF000000;
|
||||
|
||||
void term_doinit(void *addr) {
|
||||
TERM.ftctx = flanterm_fb_init(
|
||||
NULL, // malloc
|
||||
@ -57,12 +29,6 @@ void term_doinit(void *addr) {
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
/* ansi_colours, // ansi colors */
|
||||
/* ansi_bright_colours, // ansi bright colors */
|
||||
/* &default_bg, // default bg */
|
||||
/* &default_fg, // default fg */
|
||||
/* &default_fg_bright, // default bg bright */
|
||||
/* &default_bg_bright, // default fg bright */
|
||||
FM_T_437_F16,
|
||||
8,
|
||||
16,
|
||||
|
||||
Reference in New Issue
Block a user