mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/sta-core.git
synced 2025-06-12 01:25:59 +00:00
20 lines
312 B
C++
20 lines
312 B
C++
#include <sta/devices/arduino/delay.hpp>
|
|
|
|
#ifdef STA_PLATFORM_ARDUINO
|
|
|
|
#include <sta/devices/arduino/hal.hpp>
|
|
|
|
namespace sta
|
|
{
|
|
void delayMs(uint32_t ms)
|
|
{
|
|
delay(ms);
|
|
}
|
|
|
|
void delayUs(uint32_t us)
|
|
{
|
|
delayMicroseconds(us);
|
|
}
|
|
} // namespace sta
|
|
|
|
#endif // STA_PLATFORM_ARDUINO
|