Reduce BUSY_TIMEOUT and handles FPC/FLASH FW more gracefully on non-RDV4 pm3

This commit is contained in:
Philippe Teuwen 2019-05-01 16:48:04 +02:00
commit 9d261adfb1
4 changed files with 11 additions and 9 deletions

View file

@ -61,7 +61,8 @@
#define SUSPEND 0x75
#define RESUME 0x7A
#define BUSY_TIMEOUT 1000000000L
// Flash busy timeout: 20ms is the strict minimum when writing 256kb
#define BUSY_TIMEOUT 50000L
#define WINBOND_MANID 0xEF
#define WINBOND_DEVID 0x11