0
mirror of https://github.com/OneOfEleven/uv-k5-firmware-custom.git synced 2025-06-19 22:58:04 +03:00

PTT release denoise update

This commit is contained in:
OneOfEleven
2023-09-13 09:20:09 +01:00
parent 2f907f82f8
commit e3e2409854
11 changed files with 229 additions and 211 deletions

19
main.c
View File

@ -35,14 +35,7 @@
#include "settings.h"
#include "ui/lock.h"
#include "ui/welcome.h"
#ifdef GIT_HASH
static const char Version[] = "UV-K5 Firmware, Open Edition, OEFW-"GIT_HASH"\r\n";
#else
#include "version.h"
static const char Version1[] = "UV-K5 Firmware, Open Edition, ";
static const char Version2[] = "\r\n";
#endif
#include "version.h"
void _putchar(char c)
{
@ -66,15 +59,7 @@ void Main(void)
BOARD_Init();
UART_Init();
#ifdef GIT_HASH
UART_Send(Version, sizeof(Version));
#else
{
UART_Send(Version1, sizeof(Version1));
UART_Send(Version, strlen(Version));
UART_Send(Version2, sizeof(Version2));
}
#endif
UART_Send(UART_Version, strlen(UART_Version));
// Not implementing authentic device checks