#include "PeripheralManagerCustomization.h" #include "IHalCommonCustomization.h" RETURN_CODE PeripheralManagerCustomization::Init(void) { PeripheralManager::Init(); auto ledHandle = std::make_shared(); IHal::GetInstance()->GetLedContrlHandle(static_cast(SfLedIndexCustomization::SF_LED_CUSTOMIZATION), ledHandle); LedHandle handle(ledHandle); mLeds[static_cast(SfLedIndexCustomization::SF_LED_CUSTOMIZATION)] = handle; return VReturnCode::NewCode(VReturnCodeDefine::OK); }