revive MC33816 driver, also support bus sharing #6781

only:alphax-4k-gdi
This commit is contained in:
Andrey 2024-08-24 09:46:25 -04:00
parent 12bd6d3749
commit 74dbb3b83f
1 changed files with 7 additions and 7 deletions

View File

@ -165,6 +165,11 @@ protected:
efiPrintf("PT2001 error: %s", why); efiPrintf("PT2001 error: %s", why);
} }
bool errorOnUnexpectedFlag() override {
efiPrintf("****** unexpected mc33 flag state ******");
return false;
}
void sleepMs(size_t ms) override { void sleepMs(size_t ms) override {
chThdSleepMilliseconds(ms); chThdSleepMilliseconds(ms);
} }
@ -179,11 +184,6 @@ private:
static Pt2001 pt; static Pt2001 pt;
bool Pt2001::errorOnUnexpectedFlag() {
efiPrintf("****** unexpected mc33 flag state ******");
return false;
}
void Pt2001::init() { void Pt2001::init() {
// //
// see setTest33816EngineConfiguration for default configuration // see setTest33816EngineConfiguration for default configuration