]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/appmain.c
Rationalized LED usage in 14443-B: LED D shows RF Field OK,
[proxmark3-svn] / armsrc / appmain.c
index a0bb00d35039cd69a83e03a55566e7cc7fd7b036..3cbe5c4f07558d251c729f19798c2606e2318f03 100644 (file)
@@ -8,8 +8,8 @@
 \r
 #include <proxmark3.h>\r
 #include "apps.h"\r
 \r
 #include <proxmark3.h>\r
 #include "apps.h"\r
-#include "fonts.h"\r
 #ifdef WITH_LCD\r
 #ifdef WITH_LCD\r
+#include "fonts.h"\r
 #include "LCD.h"\r
 #endif\r
 \r
 #include "LCD.h"\r
 #endif\r
 \r
@@ -657,10 +657,9 @@ void UsbPacketReceived(BYTE *packet, int len)
                        break;\r
 \r
                case CMD_FPGA_MAJOR_MODE_OFF:           // ## FPGA Control\r
                        break;\r
 \r
                case CMD_FPGA_MAJOR_MODE_OFF:           // ## FPGA Control\r
-                       LED_C_ON();\r
                        FpgaWriteConfWord(FPGA_MAJOR_MODE_OFF);\r
                        SpinDelay(200);\r
                        FpgaWriteConfWord(FPGA_MAJOR_MODE_OFF);\r
                        SpinDelay(200);\r
-                       LED_C_OFF();\r
+                       LED_D_OFF(); // LED D indicates field ON or OFF\r
                        break;\r
 \r
                case CMD_DOWNLOAD_RAW_ADC_SAMPLES_125K:\r
                        break;\r
 \r
                case CMD_DOWNLOAD_RAW_ADC_SAMPLES_125K:\r
Impressum, Datenschutz