diff --git a/flight/Libraries/FatFS/diskio.c b/flight/Libraries/FatFS/diskio.c index 17ef3d957..80a47fb41 100644 --- a/flight/Libraries/FatFS/diskio.c +++ b/flight/Libraries/FatFS/diskio.c @@ -924,7 +924,7 @@ DRESULT disk_ioctl ( /*-----------------------------------------------------------------------*/ /* This function must be called in period of 10ms */ -RAMFUNC void disk_timerproc (void) +void disk_timerproc (void) { static socket_state_t pv; socket_state_t ns; diff --git a/flight/Libraries/FatFS/diskio.h b/flight/Libraries/FatFS/diskio.h index ade017272..b50574787 100644 --- a/flight/Libraries/FatFS/diskio.h +++ b/flight/Libraries/FatFS/diskio.h @@ -36,11 +36,8 @@ DRESULT disk_write (BYTE, const BYTE*, DWORD, BYTE); #endif DRESULT disk_ioctl (BYTE, BYTE, void*); -// mthomas: -#ifndef RAMFUNC -#define RAMFUNC -#endif -RAMFUNC void disk_timerproc (void); + +void disk_timerproc (void); /* Disk Status Bits (DSTATUS) */