mirror of
https://github.com/xodio/xod.git
synced 2026-03-07 09:16:51 +01:00
feat(xod-tabtest): make possible to test pulses
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
|
||||
#include "Arduino.h"
|
||||
|
||||
static uint32_t g_time = 1;
|
||||
|
||||
uint32_t millis() {
|
||||
return 0;
|
||||
return ++g_time;
|
||||
}
|
||||
|
||||
void delay(uint32_t) {
|
||||
// no-op
|
||||
void delay(uint32_t dt) {
|
||||
g_time += dt;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user