File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -172,13 +172,10 @@ void setup() {
172
172
}
173
173
174
174
yield ();
175
- uint8_t e, rtna = 0x01 ; // Screen refresh rate control (datasheet 9.2.18, FRCTRL2)
176
175
// Initialize displays
177
176
eye[0 ].display = arcada._display ;
178
- eye[0 ].display ->sendCommand (0xC6 , &rtna, 1 );
179
177
if (NUM_EYES > 1 ) {
180
178
eye[1 ].display = arcada.display2 ;
181
- eye[1 ].display ->sendCommand (0xC6 , &rtna, 1 );
182
179
}
183
180
184
181
yield ();
@@ -203,7 +200,10 @@ void setup() {
203
200
204
201
// Initialize DMAs
205
202
yield ();
203
+ uint8_t e, rtna = 0x01 ; // Screen refresh rate control (datasheet 9.2.18, FRCTRL2)
206
204
for (e=0 ; e<NUM_EYES; e++) {
205
+ eye[e].spi ->setClockSource (DISPLAY_CLKSRC);
206
+ eye[e].display ->sendCommand (0xC6 , &rtna, 1 );
207
207
eye[e].display ->fillScreen (0 );
208
208
eye[e].dma .allocate ();
209
209
eye[e].dma .setTrigger (eye[e].spi ->getDMAC_ID_TX ());
You can’t perform that action at this time.
0 commit comments