From 9bfc0120ce48d0adf51181cc6a37af2b6bc17b56 Mon Sep 17 00:00:00 2001 From: Jharwin Barrozo Date: Thu, 3 Oct 2019 02:57:24 +0800 Subject: [PATCH 1/3] Update ui.c Added USER_CALL for personalization i.e CALLSIGN in version info screen --- ui.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ui.c b/ui.c index 8cccb6d..cb9bdad 100644 --- a/ui.c +++ b/ui.c @@ -391,8 +391,9 @@ show_version(void) adc_stop(ADC1); ili9341_fill(0, 0, 320, 240, 0); - ili9341_drawstring_size(BOARD_NAME, x, y, 0xffff, 0x0000, 4); - y += 25; + ili9341_drawstring_size(USER_CALL, x, y, 0xf800, 0x0000, 3); + ili9341_drawstring_size(BOARD_NAME, x, y += 25, 0xf800, 0x0000, 5); + y += 35; ili9341_drawstring_5x7("2016-2019 Copyright @edy555", x, y += 10, 0xffff, 0x0000); ili9341_drawstring_5x7("Licensed under GPL. See: https://github.com/ttrftech/NanoVNA", x, y += 10, 0xffff, 0x0000); From 30458287bca1027d14bacbedd0d5d739934e3c23 Mon Sep 17 00:00:00 2001 From: Jharwin Barrozo Date: Thu, 3 Oct 2019 02:59:01 +0800 Subject: [PATCH 2/3] Added USER_CALL for personalization Callsign in version info screen --- ui.c | 1 - 1 file changed, 1 deletion(-) diff --git a/ui.c b/ui.c index cb9bdad..1bd88c4 100644 --- a/ui.c +++ b/ui.c @@ -394,7 +394,6 @@ show_version(void) ili9341_drawstring_size(USER_CALL, x, y, 0xf800, 0x0000, 3); ili9341_drawstring_size(BOARD_NAME, x, y += 25, 0xf800, 0x0000, 5); y += 35; - ili9341_drawstring_5x7("2016-2019 Copyright @edy555", x, y += 10, 0xffff, 0x0000); ili9341_drawstring_5x7("Licensed under GPL. See: https://github.com/ttrftech/NanoVNA", x, y += 10, 0xffff, 0x0000); ili9341_drawstring_5x7("Version: " VERSION, x, y += 10, 0xffff, 0x0000); From ac2deb674fb457628c0f8e4241a935b3a1afd949 Mon Sep 17 00:00:00 2001 From: Jharwin Barrozo Date: Thu, 3 Oct 2019 03:00:08 +0800 Subject: [PATCH 3/3] Added DV2JBs as USER_CALL --- NANOVNA_STM32_F072/board.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NANOVNA_STM32_F072/board.h b/NANOVNA_STM32_F072/board.h index 7ab4c29..6c6226d 100644 --- a/NANOVNA_STM32_F072/board.h +++ b/NANOVNA_STM32_F072/board.h @@ -26,7 +26,7 @@ */ #define BOARD_NANOVNA_STM32_F072 #define BOARD_NAME "NanoVNA" - +#define USER_CALL "DV2JBs" /* * Board frequencies. */