1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-17 18:43:50 +01:00
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
..