The chip ID isn't properly read on the very first attempt, but it is on all subsequent.
Thus, the warning was meaningless.
git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@571
12e2690d-a6be-4b82-a7b7-
67c4a43b65c8
case 0x01://CC1110
case 0x81://CC2510
case 0x91://CC2511
case 0x01://CC1110
case 0x81://CC2510
case 0x91://CC2511
//debugstr("2 bytes/flash word");
//debugstr("2 bytes/flash word");
- debugstr("Warning: Guessing flash word size.");
+ //debugstr("Warning: Guessing flash word size.");
+ flash_word_size=0;
+ break;
case 0x85://CC2430
case 0x89://CC2431
//debugstr("4 bytes/flash word");
case 0x85://CC2430
case 0x89://CC2431
//debugstr("4 bytes/flash word");