armsrc: fix mix of spaces & tabs

This commit is contained in:
Philippe Teuwen 2019-03-09 20:34:41 +01:00
commit 8a7c6825b5
47 changed files with 18186 additions and 18184 deletions

View file

@ -134,7 +134,7 @@ void LCDInit(void)
LCDString(" KkLlMmNnOoPpQqRrSsTt ", (char *)&FONT6x8,1,1+8*4,MAGENTA,BLUE ); LCDString(" KkLlMmNnOoPpQqRrSsTt ", (char *)&FONT6x8,1,1+8*4,MAGENTA,BLUE );
LCDString("UuVvWwXxYyZz0123456789", (char *)&FONT6x8,1,1+8*5,BLUE ,YELLOW); LCDString("UuVvWwXxYyZz0123456789", (char *)&FONT6x8,1,1+8*5,BLUE ,YELLOW);
LCDString("`-=[]_;',./~!@#$%^&*()", (char *)&FONT6x8,1,1+8*6,BLACK ,CYAN ); LCDString("`-=[]_;',./~!@#$%^&*()", (char *)&FONT6x8,1,1+8*6,BLACK ,CYAN );
LCDString(" _+{}|:\\\"<>? ",(char *)&FONT6x8,1,1+8*7,BLUE ,MAGENTA); LCDString(" _+{}|:\\\"<>? ", (char *)&FONT6x8,1,1+8*7,BLUE ,MAGENTA);
// color bands // color bands
LCDFill(0, 1+8* 8, 132, 8, BLACK); LCDFill(0, 1+8* 8, 132, 8, BLACK);

View file

@ -965,7 +965,7 @@ void UsbPacketReceived(uint8_t *packet, int len) {
break; break;
// mifare sniffer // mifare sniffer
// case CMD_MIFARE_SNIFFER: // case CMD_MIFARE_SNIFFER:
//SniffMifare(c->arg[0]); // SniffMifare(c->arg[0]);
// break; // break;
case CMD_MIFARE_SETMOD: case CMD_MIFARE_SETMOD:
MifareSetMod(c->arg[0], c->d.asBytes); MifareSetMod(c->arg[0], c->d.asBytes);

View file

@ -87,9 +87,9 @@ void FlashSetup(uint32_t baudrate){
} }
AT91C_BASE_SPI->SPI_CSR[2] = AT91C_BASE_SPI->SPI_CSR[2] =
SPI_DLYBCT(dlybct,MCK) | // Delay between Consecutive Transfers (32 MCK periods) SPI_DLYBCT(dlybct,MCK)| // Delay between Consecutive Transfers (32 MCK periods)
SPI_DLYBS(0,MCK) | // Delay Beforce SPCK CLock SPI_DLYBS(0,MCK) | // Delay Beforce SPCK CLock
SPI_SCBR(baudrate,MCK) | // SPI Baudrate Selection SPI_SCBR(baudrate,MCK)| // SPI Baudrate Selection
AT91C_SPI_BITS_8 | // Bits per Transfer (8 bits) AT91C_SPI_BITS_8 | // Bits per Transfer (8 bits)
//AT91C_SPI_CSAAT | // Chip Select inactive after transfer //AT91C_SPI_CSAAT | // Chip Select inactive after transfer
// 40.4.6.2 SPI: Bad tx_ready Behavior when CSAAT = 1 and SCBR = 1 // 40.4.6.2 SPI: Bad tx_ready Behavior when CSAAT = 1 and SCBR = 1

View file

@ -295,10 +295,10 @@ static RAMFUNC int OutOfNDecoding(int bit) {
// Uart.byteCnt++; // Uart.byteCnt++;
// Uart.swapper = 0; // Uart.swapper = 0;
// if (Uart.byteCnt > 15) return true; // if (Uart.byteCnt > 15) return true;
//} // }
//else { // else {
// Uart.swapper = 1; // Uart.swapper = 1;
//} // }
if (Uart.state != STATE_UNSYNCD) { if (Uart.state != STATE_UNSYNCD) {
Uart.posCnt++; Uart.posCnt++;

View file

@ -3509,7 +3509,8 @@ void Mifare1ksim(uint8_t flags, uint8_t exitAfterNReads, uint8_t arg2, uint8_t *
if (MF_DBGLEVEL >= 1) if (MF_DBGLEVEL >= 1)
Dbprintf("Emulator stopped. Trace length: %d ", BigBuf_get_traceLen()); Dbprintf("Emulator stopped. Trace length: %d ", BigBuf_get_traceLen());
cmd_send(CMD_ACK,1,0,0,0,0); FpgaWriteConfWord(FPGA_MAJOR_MODE_OFF); cmd_send(CMD_ACK,1,0,0,0,0);
FpgaWriteConfWord(FPGA_MAJOR_MODE_OFF);
LEDsoff(); LEDsoff();
set_tracing(false); set_tracing(false);
} }

View file

@ -622,7 +622,8 @@ void SimulateTagLowFrequencyEx(int period, int gap, int ledcontrol, int numcycle
if ( usb_poll_validate_length() || BUTTON_PRESS() ) if ( usb_poll_validate_length() || BUTTON_PRESS() )
goto OUT; goto OUT;
} }
++check; } ++check;
}
if (buf[i]) if (buf[i])
OPEN_COIL(); OPEN_COIL();