From 74e877c5242a0a12ad18b6c964ceed719d63a61a Mon Sep 17 00:00:00 2001 From: erikkaashoek Date: Tue, 7 Feb 2023 17:32:57 +0100 Subject: [PATCH] typo's --- nanovna.h | 2 +- ui.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nanovna.h b/nanovna.h index 3da5e6b..36d928f 100644 --- a/nanovna.h +++ b/nanovna.h @@ -1742,7 +1742,7 @@ extern void SI4432_Listen(int s); enum {PATH_OFF, PATH_LOW, PATH_DIRECT, PATH_LEAKAGE, PATH_ULTRA, PATH_HIGH}; // must be same order as correction tables!!!! #define PATH_TEXT {"OFF", "LOW", "DIRECT", "ADF", "ULTRA", "High"} -extern const char *path_text[]; +extern const char * const path_text[]; extern int signal_path; extern int test_path; extern int force_signal_path; diff --git a/ui.c b/ui.c index 7942c1d..01b13d7 100644 --- a/ui.c +++ b/ui.c @@ -1277,7 +1277,7 @@ static const keypads_t keypads_time[] = { }; #ifdef __USE_SD_CARD__ -static const keypads_t const keypads_text[] = { +static const keypads_t keypads_text[] = { {40, TXT_KEYBOARD }, // size and position {0x00, '1'}, {0x10, '2'}, {0x20, '3'}, {0x30, '4'}, {0x40, '5'}, {0x50, '6'}, {0x60, '7'}, {0x70, '8'}, {0x80, '9'}, {0x90, '0'}, {0x01, 'Q'}, {0x11, 'W'}, {0x21, 'E'}, {0x31, 'R'}, {0x41, 'T'}, {0x51, 'Y'}, {0x61, 'U'}, {0x71, 'I'}, {0x81, 'O'}, {0x91, 'P'},