Fix As3525 SD unused parameter warning

Change-Id: I0a4bbcf94e9cadf43a822c1cb2f2dad3bd4f7588
This commit is contained in:
William Wilgus 2019-12-30 23:32:23 -06:00
parent 9f336217c2
commit 8794b95a72

View file

@ -229,7 +229,9 @@ static void enable_controller(bool on, const int drive)
CGU_IDE &= ~(IDE_INTERFACE_CLK); /* interface disable */
bitclr32(&CGU_PERI, CGU_NAF_CLOCK_ENABLE);
}
#endif
#else
(void) on;
#endif /* ndef BOOTLOADER */
}
#if defined(HAVE_MULTIDRIVE) || defined(HAVE_HOTSWAP)
else
@ -1002,4 +1004,3 @@ int sd_event(long id, intptr_t data)
return rc;
}