Fix MK2.x builds

This commit is contained in:
Alex Voinea 2021-03-05 13:53:37 +02:00 committed by DRracer
parent 56948157d0
commit 94c1e65d83

View File

@ -6,6 +6,8 @@
#include "spi.h"
#include "fastio.h"
#ifdef XFLASH
#define _MFRID_W25X20CL 0xEF
#define _DEVID_W25X20CL 0x11
@ -189,3 +191,5 @@ void xflash_wait_busy(void)
{
while (xflash_rd_status_reg() & XFLASH_STATUS_BUSY) ;
}
#endif //XFLASH