Remove/fix unused stuff and other warnings

This commit is contained in:
2025-10-14 20:20:41 +02:00
parent 01b37e41c2
commit 0c3250e8d6
17 changed files with 24 additions and 55 deletions

View File

@ -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,