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