2022-05-07 00:24:58 +02:00

29 lines
638 B
C++

/**
* @brief Implementation of startup system task.
*
* Configuration:
* STA_RTOS2_STARTUP_ENABLE: Enable module
* STA_RTOS2_STARTUP_ENTRY_FUNCTION: Override name of startup task entry function (default: startupTask)
*/
#ifndef STA_RTOS2_STARTUP_HPP
#define STA_RTOS2_STARTUP_HPP
#include <sta/config.hpp>
#ifdef STA_RTOS2_STARTUP_ENABLE
namespace sta
{
/**
* @brief Extra initialization run at start of startup task.
*
* May be overridden by application if required.
*/
void startupExtras(void * argument);
} // namespace sta
#endif // STA_RTOS2_STARTUP_ENABLE
#endif // STA_RTOS2_STARTUP_HPP