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 8869fada22..67573fe0ae 100644
--- a/firmware/drivers/qt1106.c
+++ b/firmware/drivers/qt1106.c
@@ -75,10 +75,10 @@ unsigned int qt1106_io(unsigned int output)
75 75
76 while(!RDY) {} 76 while(!RDY) {}
77 77
78 delay(10); // < 470 us 78 delay(10*100); // < 470 us
79 79
80 CLRSS(); 80 CLRSS();
81 delay(13); // > 22 us 81 delay(13*100); // > 22 us
82 82
83 for (i = 0; i < 24; i++) { 83 for (i = 0; i < 24; i++) {
84 84
@@ -90,14 +90,14 @@ unsigned int qt1106_io(unsigned int output)
90 CLRMOSI(); 90 CLRMOSI();
91 output <<= 1; 91 output <<= 1;
92 92
93 delay(20); // >> 6.7 us 93 delay(20*100); // >> 6.7 us
94 94
95 SETCLK(); 95 SETCLK();
96 96
97 input <<= 1; 97 input <<= 1;
98 input |= MISO; 98 input |= MISO;
99 99
100 delay(20); // >> 6.7 us 100 delay(20*100); // >> 6.7 us
101 } 101 }
102 102
103 SETSS(); 103 SETSS();