diff --git a/stm32l4a6zg-f0x.at1/Core/Inc/at1_defines.h b/stm32l4a6zg-f0x.at1/Core/Inc/at1_defines.h index 8ae6ff0..9c39621 100644 --- a/stm32l4a6zg-f0x.at1/Core/Inc/at1_defines.h +++ b/stm32l4a6zg-f0x.at1/Core/Inc/at1_defines.h @@ -26,7 +26,7 @@ extern "C" { #define STR(x) STR_HELPER(x) #endif #define VERSION_MAJOR 0 -#define VERSION_MINOR 4 +#define VERSION_MINOR 5 #ifdef DEBUG #define VERSION_DEBUG ".D" #else @@ -41,7 +41,7 @@ extern "C" { /* #define COMPILE_YEAR (__DATE__ + 7) */ #define DATE_COMPILE_CENTURY (20) -#define DATE_COMPILE_YEAR (22) +#define DATE_COMPILE_YEAR (24) #if !defined _SYS_ERRNO_H_ && !defined __ERRNO_H__ && !defined __AT1_ERROR_NUMBERS__ #define __AT1_ERROR_NUMBERS__ diff --git a/stm32l4a6zg-f0x.at1/Core/Src/commands.c b/stm32l4a6zg-f0x.at1/Core/Src/commands.c index 7671243..5d2cb5e 100644 --- a/stm32l4a6zg-f0x.at1/Core/Src/commands.c +++ b/stm32l4a6zg-f0x.at1/Core/Src/commands.c @@ -57,7 +57,6 @@ static const cmd_table_t cmd_table[] = { {"hidden", 2, CMD_HIDDEN, do_test }, {"info", 1, CMD_NO_FLAG, do_info }, {"sinfo", 1, CMD_SECRET, do_sinfo }, - {"time", 1, CMD_NO_FLAG, do_time }, }; diff --git a/stm32l4a6zg-f0x.at1/Core/Src/helper.c b/stm32l4a6zg-f0x.at1/Core/Src/helper.c index c718674..ef5de58 100644 --- a/stm32l4a6zg-f0x.at1/Core/Src/helper.c +++ b/stm32l4a6zg-f0x.at1/Core/Src/helper.c @@ -13,7 +13,7 @@ #include /* include my defines from a global view, else */ #ifndef DATE_COMPILE_CENTURY #define DATE_COMPILE_CENTURY (20) -#define DATE_COMPILE_YEAR (22) +#define DATE_COMPILE_YEAR (24) #endif #if !defined _SYS_ERRNO_H_ && !defined __ERRNO_H__ && !defined __AT1_ERROR_NUMBERS__ diff --git a/stm32l4a6zg-f0x.at1/Core/Src/main.c b/stm32l4a6zg-f0x.at1/Core/Src/main.c index 0b8654c..326d058 100644 --- a/stm32l4a6zg-f0x.at1/Core/Src/main.c +++ b/stm32l4a6zg-f0x.at1/Core/Src/main.c @@ -585,10 +585,10 @@ static void MX_RTC_Init(void) { Error_Handler(); } - sDate.WeekDay = RTC_WEEKDAY_MONDAY; - sDate.Month = RTC_MONTH_AUGUST; - sDate.Date = 0x1; - sDate.Year = 0x22; + sDate.WeekDay = RTC_WEEKDAY_TUESDAY; + sDate.Month = RTC_MONTH_DECEMBER; + sDate.Date = 0x31; + sDate.Year = 0x24; if (HAL_RTC_SetDate(&hrtc, &sDate, RTC_FORMAT_BCD) != HAL_OK) { @@ -832,7 +832,7 @@ int _write(int fd, unsigned char *p, int len) } void print_system_info(void) { - puts("*************************************"); + puts("***************************************"); puts(PROGRAM_ID " " AUTHOR_STRING); puts("Compiled: " __DATE__ " " __TIME__); puts(osKernelSystemId); @@ -1082,7 +1082,7 @@ void start_morse_task(void *argument) if(++i % 32) { /* do this 31 times, then Morse my callsign once at high speed */ morse(inst, "MO", morsedelay, clk); } else { - morsedelay = delay/3; + morsedelay = delay/2; morse(inst, "f0x.at1 de oe3tkt/p", morsedelay, clk); morsedelay = delay; } @@ -1114,7 +1114,7 @@ void start_clk2_task(void *argument) if(++i % 32) { /* do this 31 times, then Morse my callsign once at high speed */ morse(inst, "MOe", morsedelay, clk); } else { - morsedelay = delay/3; + morsedelay = delay/2; morse(inst, "f0x.at1 de oe3tkt/p", morsedelay, clk); morsedelay = delay; }