убрала лишнее

This commit is contained in:
KLASSENTS 2025-03-27 10:32:24 +07:00
parent f2ab0fc367
commit 6646cff7e5
2 changed files with 4 additions and 14 deletions

View File

@ -48,7 +48,8 @@ extern "C" {
#define configSTACK_DEPTH_TYPE uint16_t #define configSTACK_DEPTH_TYPE uint16_t
#define configMINIMAL_STACK_SIZE 192 #define configMINIMAL_STACK_SIZE 192
// #define configISR_STACK_SIZE_WORDS 128 // todo сколько надо? /* don't define to reuse the stack allocated in the linker script via __freertos_irq_stack_top variable*/
// #define configISR_STACK_SIZE_WORDS 128
#define configCHECK_FOR_STACK_OVERFLOW 1 #define configCHECK_FOR_STACK_OVERFLOW 1
#define configUSE_TRACE_FACILITY 0 #define configUSE_TRACE_FACILITY 0

View File

@ -38,24 +38,13 @@ extern void loop(void);
/*-----------------------------------------------------------*/ /*-----------------------------------------------------------*/
void initVariant(void) // todo удалить void initVariant(void)
{ {
initTestPin();
setup(); // the normal Arduino setup() function is run here. setup(); // the normal Arduino setup() function is run here.
post_init(); post_init();
vTaskStartScheduler(); // initialise and run the freeRTOS scheduler. Execution should never return here. vTaskStartScheduler(); // initialise and run the freeRTOS scheduler. Execution should never return here.
} }
/*
* Setup the timer to generate the tick interrupts.
* The basic settings have been applied at startup in function SystemInit(),
* now all that remains is to configure the machine timer comparison register
* and enable this interrupt.
*/
// void vPortSetupTimerInterrupt(void)
// {
// }
/*-----------------------------------------------------------*/ /*-----------------------------------------------------------*/
#if ( configUSE_IDLE_HOOK == 1 ) #if ( configUSE_IDLE_HOOK == 1 )