+static void OnSuccess(){\r
+ pcb_blocknum = 0;\r
+ ReaderTransmit(deselect_cmd, 3 , NULL);\r
+ FpgaWriteConfWord(FPGA_MAJOR_MODE_OFF);\r
+ LEDsoff();\r
+}\r
+*/\r
+\r
+static void OnError(uint8_t reason){\r
+ // pcb_blocknum = 0;\r
+ // ReaderTransmit(deselect_cmd, 3 , NULL);\r
+ FpgaWriteConfWord(FPGA_MAJOR_MODE_OFF);\r
+ LED_D_OFF();\r
+ cmd_send(CMD_ACK,0,reason,0,0,0);\r
+ LED_A_OFF();\r
+}\r
+\r