mirror of
https://github.com/ttrftech/NanoVNA.git
synced 2025-12-06 03:31:59 +01:00
show version
This commit is contained in:
parent
92f796e349
commit
eee1b0034f
12
ui.c
12
ui.c
|
|
@ -399,8 +399,7 @@ touch_position(int *x, int *y)
|
|||
}
|
||||
|
||||
|
||||
void
|
||||
show_version(void)
|
||||
void show_version(void)
|
||||
{
|
||||
int x = 5, y = 5;
|
||||
|
||||
|
|
@ -410,11 +409,16 @@ show_version(void)
|
|||
ili9341_drawstring_size(BOARD_NAME, x, y, 0xffff, 0x0000, 4);
|
||||
y += 25;
|
||||
|
||||
ili9341_drawstring_5x7("2016-2019 Copyright @edy555", x, y += 10, 0xffff, 0x0000);
|
||||
ili9341_drawstring_5x7("https://github.com/qrp73/NanoVNA", x, y += 10, 0xffff, 0x0000);
|
||||
ili9341_drawstring_5x7("", x, y += 10, 0xffff, 0x0000);
|
||||
|
||||
ili9341_drawstring_5x7("Original code 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("", x, y += 10, 0xffff, 0x0000);
|
||||
|
||||
ili9341_drawstring_5x7("Version: " VERSION, x, y += 10, 0xffff, 0x0000);
|
||||
ili9341_drawstring_5x7("Build Time: " __DATE__ " - " __TIME__, x, y += 10, 0xffff, 0x0000);
|
||||
y += 5;
|
||||
y += 10;
|
||||
ili9341_drawstring_5x7("Kernel: " CH_KERNEL_VERSION, x, y += 10, 0xffff, 0x0000);
|
||||
ili9341_drawstring_5x7("Compiler: " PORT_COMPILER_NAME, x, y += 10, 0xffff, 0x0000);
|
||||
ili9341_drawstring_5x7("Architecture: " PORT_ARCHITECTURE_NAME " Core Variant: " PORT_CORE_VARIANT_NAME, x, y += 10, 0xffff, 0x0000);
|
||||
|
|
|
|||
Loading…
Reference in a new issue