Mbed support removed

Rationale: The support for both Zephyr and Mbed made the code confusing,
especially because of many ifdefs.

Zephyr RTOS is the future!
This commit is contained in:
Martin Jäger
2020-04-04 08:21:43 +02:00
parent 2c2e59c072
commit 2d74a3a554
22 changed files with 81 additions and 1076 deletions
+2 -4
View File
@@ -8,15 +8,13 @@
#include <time.h>
#ifdef __MBED__
#include "mbed.h"
#elif defined(__ZEPHYR__)
#ifndef UNIT_TEST
#include <zephyr.h>
#endif
uint32_t uptime()
{
#ifdef __ZEPHYR__
#ifndef UNIT_TEST
return k_uptime_get() / 1000;
#else
return time(NULL);