#include "STM32TestTask.h" #include "stm32h7xx_nucleo.h" #include "OBSWConfig.h" STM32TestTask::STM32TestTask(object_id_t objectId, bool enablePrintout, bool blinkyLed): TestTask(objectId, enablePrintout), blinkyLed(blinkyLed) { } ReturnValue_t STM32TestTask::performPeriodicAction() { if(blinkyLed) { #if OBSW_ETHERNET_USE_LEDS == 0 BSP_LED_Toggle(LED1); BSP_LED_Toggle(LED2); #endif BSP_LED_Toggle(LED3); } return TestTask::performPeriodicAction(); } ReturnValue_t STM32TestTask::performOneShotAction() { return HasReturnvaluesIF::RETURN_OK; }