fixed indentation to get rid of warnings

warnings are treated as errors, so a warning due to misleading
indentation is kinda annoying
This commit is contained in:
René Werner 2016-09-13 20:57:25 +02:00
commit 78f59945a7
3 changed files with 13 additions and 11 deletions

View file

@ -141,10 +141,10 @@ void UsbPacketReceived(uint8_t *packet, int len) {
// Wait until flashing of page finishes
uint32_t sr;
while(!((sr = AT91C_BASE_EFC0->EFC_FSR) & AT91C_MC_FRDY));
if(sr & (AT91C_MC_LOCKE | AT91C_MC_PROGE)) {
dont_ack = 1;
cmd_send(CMD_NACK,sr,0,0,0,0);
}
if(sr & (AT91C_MC_LOCKE | AT91C_MC_PROGE)) {
dont_ack = 1;
cmd_send(CMD_NACK,sr,0,0,0,0);
}
}
} break;