diff --git a/Boards/UnPhone/Source/PowerOn.cpp b/Boards/UnPhone/Source/InitBoot.cpp similarity index 99% rename from Boards/UnPhone/Source/PowerOn.cpp rename to Boards/UnPhone/Source/InitBoot.cpp index c75bf5ee..3f60a4e6 100644 --- a/Boards/UnPhone/Source/PowerOn.cpp +++ b/Boards/UnPhone/Source/InitBoot.cpp @@ -182,7 +182,7 @@ static bool unPhonePowerOn() { return true; } -bool unPhoneInitPower() { +bool initBoot() { ESP_LOGI(TAG, LOG_MESSAGE_POWER_ON_START); if (!unPhonePowerOn()) { diff --git a/Boards/UnPhone/Source/UnPhone.cpp b/Boards/UnPhone/Source/UnPhone.cpp index 986da369..895e5f2a 100644 --- a/Boards/UnPhone/Source/UnPhone.cpp +++ b/Boards/UnPhone/Source/UnPhone.cpp @@ -7,7 +7,7 @@ #define UNPHONE_SPI_TRANSFER_SIZE_LIMIT (UNPHONE_LCD_HORIZONTAL_RESOLUTION * UNPHONE_LCD_SPI_TRANSFER_HEIGHT * LV_COLOR_DEPTH / 8) -bool unPhoneInitPower(); +bool initBoot(); static tt::hal::DeviceVector createDevices() { return { @@ -18,7 +18,7 @@ static tt::hal::DeviceVector createDevices() { } extern const tt::hal::Configuration unPhone = { - .initBoot = unPhoneInitPower, + .initBoot = initBoot, .createDevices = createDevices, .i2c = { tt::hal::i2c::Configuration {