Skip to content

Conversation

@stronnag
Copy link
Collaborator

@stronnag stronnag commented Nov 2, 2020

gcc 10.20 generated the following warning:

/home/jrh/Projects/fc/inav/src/main/drivers/sdcard/sdmmc_sdio_f7xx.c: In function 'SD_GetStatus':
/home/jrh/Projects/fc/inav/src/main/drivers/sdcard/sdmmc_sdio_f7xx.c:1003:20: warning: implicit conversion from 'enum <anonymous>' to 'SD_Error_t' [-Wenum-conversion]
 1003 |         ErrorState = SD_CARD_ERROR;
      |    

This PR makes the obvious change to address the warning.

@digitalentity digitalentity added this to the 2.6 milestone Nov 3, 2020
@digitalentity digitalentity merged commit 9cb7163 into master Nov 3, 2020
@digitalentity digitalentity deleted the jh_f7_sd_mmc_error_enum branch November 3, 2020 08:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants