1.修改编译不通过问题

This commit is contained in:
payton 2024-01-17 14:34:57 +08:00
parent 0e40a6633f
commit 2b5dbc7aaa
4 changed files with 4 additions and 4 deletions

View File

@ -47,7 +47,7 @@ SINT32 app_led_pin_init(void);
SINT32 sf_in_card_exist(void);
SINT32 sf_in_emmc_exist(void);
BOOL sf_in_emmc_exist(void);
SINT32 sf_is_card_full(void);

View File

@ -531,7 +531,7 @@ SINT32 sf_in_card_exist(void)
return (regValue & 0xFF) ? 0:1;
}
SINT32 sf_in_emmc_exist(void)
BOOL sf_in_emmc_exist(void)
{
if (access("/dev/mmcblk1p1", F_OK) == SUCCESS) {
return 1;

View File

@ -16,7 +16,7 @@ typedef BOOL (*SF_CALLBACK_SD_CMD)(void);
void sf_sd_exist_reg_cb(SF_CALLBACK_SD_CMD fpCB);
BOOL sf_in_card_exist(void);
SINT32 sf_in_emmc_exist(void);
BOOL sf_in_emmc_exist(void);
void sf_set_card_statu(UINT32 val);
UINT32 sf_get_card_statu(void);

View File

@ -68,7 +68,7 @@ BOOL sf_in_card_exist(void)
}
SINT32 sf_in_emmc_exist(void)
BOOL sf_in_emmc_exist(void)
{
if (access("/dev/mmcblk1p1", F_OK) == SUCCESS) {
return 1;