Re #2026: DISKIO_SIMU renamed to SIMU_DISKIO

This commit is contained in:
Damjan Adamic
2015-02-22 15:13:10 +01:00
parent 52a2df4215
commit 434baf15c4
4 changed files with 14 additions and 14 deletions
+3 -3
View File
@@ -231,7 +231,7 @@ const char *fileCopy(const char *filename, const char *srcDir, const char *destD
#endif // #if defined(PCBTARANIS)
#if !defined(SIMU) || defined(DISKIO_SIMU)
#if !defined(SIMU) || defined(SIMU_DISKIO)
uint32_t sdGetNoSectors()
{
static DWORD noSectors = 0;
@@ -256,7 +256,7 @@ uint32_t sdGetFreeSectors()
return nofree * fat->csize;
}
#else // #if !defined(SIMU) || defined(DISKIO_SIMU)
#else // #if !defined(SIMU) || defined(SIMU_DISKIO)
uint32_t sdGetNoSectors()
{
@@ -273,4 +273,4 @@ uint32_t sdGetFreeSectors()
return 10;
}
#endif // #if !defined(SIMU) || defined(DISKIO_SIMU)
#endif // #if !defined(SIMU) || defined(SIMU_DISKIO)