Skip to content

Commit ab1eb5d

Browse files
restyled-commitsandrei-menzopol
authored andcommitted
Restyled by clang-format
1 parent b8c152f commit ab1eb5d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/platform/nxp/common/ota/OTAImageProcessorImpl.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -396,8 +396,7 @@ void OTAImageProcessorImpl::HandleApply(intptr_t context)
396396
* into account queued actions, e.g. sending events to a subscription.
397397
*/
398398
SystemLayer().StartTimer(
399-
chip::System::Clock::Milliseconds32(imageProcessor->mDelayBeforeRebootSec * 1000
400-
+ CHIP_DEVICE_LAYER_OTA_REBOOT_DELAY),
399+
chip::System::Clock::Milliseconds32(imageProcessor->mDelayBeforeRebootSec * 1000 + CHIP_DEVICE_LAYER_OTA_REBOOT_DELAY),
401400
[](chip::System::Layer *, void *) { OtaHookReset(); }, nullptr);
402401
}
403402

0 commit comments

Comments
 (0)