From: d18c7db Date: Thu, 12 Nov 2009 08:04:40 +0000 (+0000) Subject: Fix define typo X-Git-Tag: v1.0.0~451 X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/e70140224f6b9736f01d6cc314687d93a8bb8c97 Fix define typo --- diff --git a/armsrc/appmain.c b/armsrc/appmain.c index e86cad8c..4077e4ef 100644 --- a/armsrc/appmain.c +++ b/armsrc/appmain.c @@ -267,7 +267,7 @@ void SendVersion(void) DbpString(temp); } -#ifdef DWITH_LF +#ifdef WITH_LF // samy's sniff and repeat routine void SamyRun() { @@ -534,13 +534,13 @@ void UsbPacketReceived(BYTE *packet, int len) UsbCommand *c = (UsbCommand *)packet; switch(c->cmd) { -#ifdef DWITH_LF +#ifdef WITH_LF case CMD_ACQUIRE_RAW_ADC_SAMPLES_125K: AcquireRawAdcSamples125k(c->ext1); break; #endif -#ifdef DWITH_LF +#ifdef WITH_LF case CMD_MOD_THEN_ACQUIRE_RAW_ADC_SAMPLES_125K: ModThenAcquireRawAdcSamples125k(c->ext1,c->ext2,c->ext3,c->d.asBytes); break; @@ -630,13 +630,13 @@ void UsbPacketReceived(BYTE *packet, int len) ListenReaderField(c->ext1); break; -#ifdef DWITH_LF +#ifdef WITH_LF case CMD_HID_DEMOD_FSK: CmdHIDdemodFSK(0, 0, 0, 1); // Demodulate HID tag break; #endif -#ifdef DWITH_LF +#ifdef WITH_LF case CMD_HID_SIM_TAG: CmdHIDsimTAG(c->ext1, c->ext2, 1); // Simulate HID tag by ID break; @@ -648,13 +648,13 @@ void UsbPacketReceived(BYTE *packet, int len) LED_D_OFF(); // LED D indicates field ON or OFF break; -#ifdef DWITH_LF +#ifdef WITH_LF case CMD_READ_TI_TYPE: ReadTItag(); break; #endif -#ifdef DWITH_LF +#ifdef WITH_LF case CMD_WRITE_TI_TYPE: WriteTItag(c->ext1,c->ext2,c->ext3); break; @@ -679,7 +679,7 @@ void UsbPacketReceived(BYTE *packet, int len) break; } -#ifdef DWITH_LF +#ifdef WITH_LF case CMD_SIMULATE_TAG_125K: LED_A_ON(); SimulateTagLowFrequency(c->ext1, 1); @@ -708,7 +708,7 @@ void UsbPacketReceived(BYTE *packet, int len) SendVersion(); break; -#ifdef DWITH_LF +#ifdef WITH_LF case CMD_LF_SIMULATE_BIDIR: SimulateTagLowFrequencyBidir(c->ext1, c->ext2); break; @@ -823,7 +823,7 @@ void __attribute__((noreturn)) AppMain(void) UsbPoll(FALSE); WDT_HIT(); -#ifdef DWITH_LF +#ifdef WITH_LF if (BUTTON_HELD(1000) > 0) SamyRun(); #endif