RIOT/drivers/mtd_spi_nor
Benjamin Valentin c1348c80a0 drivers/mtd_spi_nor: fix poll on init
The while condition for polling the chip ID is broken, it will always
poll for the max ammount of retries.

Change the condition from `or` to `and` to fix the logic.

fixes #15894
2021-02-11 22:49:42 +01:00
..