feat(xod-tabtest): make possible to test pulses

This commit is contained in:
Kirill Shumilov
2018-11-19 19:14:00 +03:00
parent 28b13bb70b
commit 664d50fa65
8 changed files with 46 additions and 14 deletions

View File

@@ -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;
}