Revert "simulator.h: provide a minimalistic SPI fake."

After a number of simulator enhancements, it's no longer
necessary to keep SPI support entirely away from it.
This commit is contained in:
Markus Hitter 2015-07-17 16:11:44 +02:00
parent 7e649c83dc
commit 72253ed932
1 changed files with 0 additions and 10 deletions

View File

@ -177,16 +177,6 @@ uint16_t sim_tick_counter(void);
uint64_t sim_runtime_ns(void); ///< Simulated run-time in nanoseconds uint64_t sim_runtime_ns(void); ///< Simulated run-time in nanoseconds
void sim_time_warp(void); ///< skip ahead to next timer interrupt, when time_scale==0 void sim_time_warp(void); ///< skip ahead to next timer interrupt, when time_scale==0
/** SPI subsystem.
So far there isn't really one. Disable SD and fake the remaining
neccessary bits.
*/
#undef SD_CARD_SELECT_PIN
#undef SD
#define loop_until_bit_is_set(SPSR, SPIF)
uint8_t SPCR, SPDR, SPSR;
#define DIO0_PIN "proof of life" #define DIO0_PIN "proof of life"
#endif /* _SIMULATOR_H */ #endif /* _SIMULATOR_H */