убрала лишнее
This commit is contained in:
parent
f2ab0fc367
commit
6646cff7e5
@ -48,7 +48,8 @@ extern "C" {
|
||||
#define configSTACK_DEPTH_TYPE uint16_t
|
||||
|
||||
#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 configUSE_TRACE_FACILITY 0
|
||||
|
||||
|
||||
@ -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.
|
||||
post_init();
|
||||
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 )
|
||||
|
||||
Loading…
Reference in New Issue
Block a user