@@ -16,21 +16,21 @@ static const struct {
1616 const char * name ;
1717 const char * desc ;
1818} error_codes [] = {
19- { ERR_UNSU , "ERR_UNSU" , "unsupported command" },
20- { ERR_NSCM , "ERR_NSCM" , "unrecognized command" },
19+ { ERR_UNSU , "ERR_UNSU" , "unsupported command" },
20+ { ERR_NSCM , "ERR_NSCM" , "unrecognized command" },
2121 { ERR_PCKT , "ERR_PCKT" , "packet error (command recognized, need data)" },
22- { ERR_CHKS , "ERR_CHKS" , "checksum mismatch" },
23- { ERR_FLOW , "ERR_FLOW" , "command flow error" },
24- { ERR_ADDR , "ERR_ADDR" , "invalid address" },
25- { ERR_BAUD , "ERR_BAUD" , "baud rate margin error" },
26- { ERR_CMD , "ERR_CMD" , "command not accepted (wrong state)" },
27- { ERR_PROT , "ERR_PROT" , "protection error" },
28- { ERR_ID , "ERR_ID" , "ID authentication mismatch" },
29- { ERR_SERI , "ERR_SERI" , "serial programming disabled" },
30- { ERR_ERA , "ERR_ERA" , "erase failed" },
31- { ERR_WRI , "ERR_WRI" , "write failed" },
32- { ERR_SEQ , "ERR_SEQ" , "sequencer error" },
33- { 0 , NULL , NULL }
22+ { ERR_CHKS , "ERR_CHKS" , "checksum mismatch" },
23+ { ERR_FLOW , "ERR_FLOW" , "command flow error" },
24+ { ERR_ADDR , "ERR_ADDR" , "invalid address" },
25+ { ERR_BAUD , "ERR_BAUD" , "baud rate margin error" },
26+ { ERR_CMD , "ERR_CMD" , "command not accepted (wrong state)" },
27+ { ERR_PROT , "ERR_PROT" , "protection error" },
28+ { ERR_ID , "ERR_ID" , "ID authentication mismatch" },
29+ { ERR_SERI , "ERR_SERI" , "serial programming disabled" },
30+ { ERR_ERA , "ERR_ERA" , "erase failed" },
31+ { ERR_WRI , "ERR_WRI" , "write failed" },
32+ { ERR_SEQ , "ERR_SEQ" , "sequencer error" },
33+ { 0 , NULL , NULL }
3434};
3535
3636const char *
0 commit comments