adjusted old code to new spi and gpi
minor fixes
This commit is contained in:
@@ -369,12 +369,12 @@ private:
|
||||
/** perform hard reset */
|
||||
void reset() {
|
||||
debugMod(NAME, "reset");
|
||||
//MyGPIO::set(PIN_RESET);
|
||||
//usleep(20*1000);
|
||||
MyGPIO::clear(PIN_RESET); // perform reset
|
||||
usleep(20*1000);
|
||||
MyGPIO::set(PIN_RESET);
|
||||
usleep(20*1000);
|
||||
usleep(50*1000);
|
||||
MyGPIO::clear(PIN_RESET); // perform reset
|
||||
usleep(50*1000);
|
||||
MyGPIO::set(PIN_RESET);
|
||||
usleep(50*1000);
|
||||
debugMod(NAME, "reset done");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user