Fix #10: Moved static and global variablöes that are 0 initialized to CCMRAM in order to make room and increase performance.
This commit is contained in:
@@ -115,7 +115,7 @@ static inline void setup_shell_uart(struct stm_uart *uart)
|
||||
static bool mount_sd_card_if_avail(bool mounted)
|
||||
{
|
||||
FRESULT res;
|
||||
static uint8_t inserted_counter = 0;
|
||||
static uint8_t IN_SECTION(.ccmram) inserted_counter = 0;
|
||||
|
||||
if (sdio_check_inserted() && mounted) {
|
||||
memset(fs_ptr, 0, sizeof(FATFS));
|
||||
|
Reference in New Issue
Block a user