mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/sta-core.git
synced 2025-09-28 21:17:33 +00:00
Some fixes to ensure compatibility of arduino branch with stm32 features
This commit is contained in:
@@ -1,16 +1,17 @@
|
||||
#include <sta/devices/arduino/time.hpp>
|
||||
#include <sta/time.hpp>
|
||||
|
||||
#include <sta/config.hpp>
|
||||
#ifdef STA_PLATFORM_ARDUINO
|
||||
#include <sta/devices/arduino/hal.hpp>
|
||||
|
||||
namespace sta
|
||||
{
|
||||
uint32_t now()
|
||||
uint32_t timeMs()
|
||||
{
|
||||
return millis();
|
||||
}
|
||||
|
||||
uint32_t nowUs()
|
||||
uint32_t timeUs()
|
||||
{
|
||||
return micros();
|
||||
}
|
||||
|
Reference in New Issue
Block a user