summaryrefslogtreecommitdiff
path: root/firmware/src/picc/poti.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/src/picc/poti.c')
-rw-r--r--firmware/src/picc/poti.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/firmware/src/picc/poti.c b/firmware/src/picc/poti.c
index 4c94994..e5701dc 100644
--- a/firmware/src/picc/poti.c
+++ b/firmware/src/picc/poti.c
@@ -31,7 +31,6 @@ void poti_comp_carr(u_int8_t position)
while (!(spi->SPI_SR & AT91C_SPI_TDRE)) { }
AT91F_PIO_ClearOutput(AT91C_BASE_PIOA, OPENPICC_PIO_SS2_DT_THRESH);
- //for (i = 0; i < 0xff; i++) { }
/* shift one left, since it is a seven-bit value written as 8 bit xfer */
spi->SPI_TDR = position & 0x7f;
while (!(spi->SPI_SR & AT91C_SPI_TDRE)) { }
personal git repositories of Harald Welte. Your mileage may vary