Add Simpson board support

This commit is contained in:
sim1988son
2026-10-15 20:39:48 +02:00
parent 1f47fc56cd
commit 539271f293
13 changed files with 466 additions and 12 deletions
+3
View File
@@ -40,6 +40,9 @@ bool SH1106Display::begin()
// spi_dev NULL, and UITask::begin() calls turnOn() regardless of our
// return value, which then dereferences the null spi_dev.
bool ok = display.begin(addr ? addr : DISPLAY_ADDRESS, true);
#ifdef DISPLAY_ROTATION
display.setRotation(DISPLAY_ROTATION);
#endif
return addr != 0 && ok;
}