ext-flash driver: minor with pin unknown
This commit is contained in:
parent
46d1dd1293
commit
ab40997fd0
@ -321,7 +321,7 @@ ext_flash_open(spi_device_t *conf)
|
||||
flash_spi_configuration = get_spi_conf(conf);
|
||||
|
||||
/* Check if platform has ext-flash */
|
||||
if(flash_spi_configuration->pin_spi_sck == 255) {
|
||||
if(flash_spi_configuration->pin_spi_sck == GPIO_HAL_PIN_UNKNOWN) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user