mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-14 18:47:24 -07:00
Fixed all "misleading-indentation" warnings (fixes #187).
This commit is contained in:
parent
9b3c48688e
commit
2943527472
4 changed files with 12 additions and 10 deletions
|
@ -391,7 +391,7 @@ int legic_write_byte(int byte, int addr, int addr_sz) {
|
|||
uint32_t cmd_sz = addr_sz+1+8+4; //crc+data+cmd
|
||||
|
||||
legic_prng_forward(2); /* we wait anyways */
|
||||
while(timer->TC_CV < 387) ; /* ~ 258us */
|
||||
while(timer->TC_CV < 387) {}; /* ~ 258us */
|
||||
frame_send_rwd(cmd, cmd_sz);
|
||||
|
||||
//== wait for ack ====================================
|
||||
|
@ -418,7 +418,7 @@ int legic_write_byte(int byte, int addr, int addr_sz) {
|
|||
}
|
||||
}
|
||||
timer->TC_CCR = AT91C_TC_SWTRG;
|
||||
while(timer->TC_CV > 1) ; /* Wait till the clock has reset */
|
||||
while(timer->TC_CV > 1) {}; /* Wait till the clock has reset */
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue