[ACT] Simu is back

This commit is contained in:
bsongis
2013-01-11 08:01:55 +00:00
parent 5a5c9828d5
commit 45458792bc
15 changed files with 190 additions and 36 deletions
+2 -2
View File
@@ -112,7 +112,7 @@ void eeWriteBlockCmp(const void *i_pointer_ram, uint16_t i_pointer_eeprom, size_
static uint8_t EeFsRead(blkid_t blk, uint8_t ofs)
{
uint8_t ret;
#if defined(PCBX9D)
#if defined(CPUARM)
eeprom_read_block(&ret, (uint16_t)(blk*BS+ofs+BLOCKS_OFFSET), 1);
#elif defined(SIMU)
eeprom_read_block(&ret, (const void*)(uint64_t)(blk*BS+ofs+BLOCKS_OFFSET), 1);
@@ -915,7 +915,7 @@ void eeLoadModel(uint8_t id)
FRSKY_setModelAlarms();
#endif
#if defined(PCBX9D) && defined(SDCARD)
#if defined(CPUARM) && defined(SDCARD)
refreshModelAudioFiles();
#endif