Seems to address startup hang issue?
This commit is contained in:
parent
382363a876
commit
eb000eabdb
1 changed files with 2 additions and 3 deletions
|
|
@ -27,9 +27,8 @@ static PicoDVI *dviptr = NULL; // For C access to active C++ object
|
||||||
|
|
||||||
// Runs on core 1 on startup
|
// Runs on core 1 on startup
|
||||||
void setup1(void) {
|
void setup1(void) {
|
||||||
delay(1); // Required, perhaps core related
|
while (dviptr == NULL) // Wait for PicoDVI::begin() to start on core 0
|
||||||
while (dviptr == NULL)
|
yield();
|
||||||
; // Wait for PicoDVI::begin() to start on core 0
|
|
||||||
dviptr->_setup();
|
dviptr->_setup();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue