Something went wrong. Try again.
A fork of https://github.com/crosspoint-reader/crosspoint-reader
Something went wrong. Try again.
329 B · 19 lines
C
1234567891011121314151617181920#pragma once
#include <cstdint>
#include "HalStorage.h"
inline uint32_t millis() { static uint32_t clock = 0; return ++clock;}
inline void delay(unsigned) { fake::delays++; }
struct FakeEsp { uint32_t getFreeHeap() const { return 100000; } uint32_t getMaxAllocHeap() const { return 80000; }};
inline FakeEsp ESP;