Fake input and bug fixes

* Press W in simulator to activate (pretty slow shit, do avoid unless compiling with optimisations)
 * Tiny improvement of the EEPROM simulation.
 * Fixed type typo for millis and micros
This commit is contained in:
Mikael Degerfält 2019-06-14 22:23:53 +02:00
parent 266b3334cb
commit 1be998153a
6 changed files with 58 additions and 45 deletions

View file

@ -5,6 +5,7 @@
struct EEPROMClass
{
EEPROMClass();
//Basic user access methods.
// EERef operator[]( const int idx ) { return idx; }
uint8_t read( int idx ); // { return EERef( idx ); }
@ -34,6 +35,10 @@ struct EEPROMClass
// #endif
// return t;
// }
private:
char someFakeEEPROM_memory[4096];
};
static EEPROMClass EEPROM __attribute__ ((unused));