summaryrefslogtreecommitdiff
path: root/firmware/drivers/qt1106.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers/qt1106.c')
-rw-r--r--firmware/drivers/qt1106.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/firmware/drivers/qt1106.c b/firmware/drivers/qt1106.c
index 8869fad..67573fe 100644
--- a/firmware/drivers/qt1106.c
+++ b/firmware/drivers/qt1106.c
@@ -75,10 +75,10 @@ unsigned int qt1106_io(unsigned int output)
while(!RDY) {}
- delay(10); // < 470 us
+ delay(10*100); // < 470 us
CLRSS();
- delay(13); // > 22 us
+ delay(13*100); // > 22 us
for (i = 0; i < 24; i++) {
@@ -90,14 +90,14 @@ unsigned int qt1106_io(unsigned int output)
CLRMOSI();
output <<= 1;
- delay(20); // >> 6.7 us
+ delay(20*100); // >> 6.7 us
SETCLK();
input <<= 1;
input |= MISO;
- delay(20); // >> 6.7 us
+ delay(20*100); // >> 6.7 us
}
SETSS();