ext-flash driver: minor with pin unknown

This commit is contained in:
Xenofon (Fontas) Fafoutis 2018-04-04 11:10:25 +01:00
parent 46d1dd1293
commit ab40997fd0
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}