cryptnox-sdk-esp32
1.0.0
ESP32 SDK for Cryptnox Hardware Wallet
Loading...
Searching...
No Matches
ESP32Platform.cpp
Go to the documentation of this file.
1
/*
2
* SPDX-License-Identifier: LGPL-3.0-or-later
3
* Copyright (c) 2026 Cryptnox SA
4
*/
5
14
15
#include "
ESP32Platform.h
"
16
#include <freertos/FreeRTOS.h>
17
#include <freertos/task.h>
18
20
void
ESP32Platform::sleep_ms
(uint32_t ms) {
21
vTaskDelay(pdMS_TO_TICKS(
static_cast<
TickType_t
>
(ms)));
22
}
ESP32Platform.h
CW_Platform implementation for ESP32 using FreeRTOS.
ESP32Platform::sleep_ms
void sleep_ms(uint32_t ms) override
Sleep for at least ms milliseconds.
Definition
ESP32Platform.cpp:20
components
esp32_platform
ESP32Platform.cpp
Generated by
1.15.0