Squash needlessly static functions (#4183)

This commit is contained in:
Jonathan Bennett
2024-06-28 21:28:18 -05:00
committed by GitHub
parent 5263c738f3
commit ca969e26a5
3 changed files with 107 additions and 134 deletions

View File

@@ -288,7 +288,7 @@ class AccelerometerThread : public concurrency::OSThread
compassY = y + FONT_HEIGHT_SMALL + (display->getHeight() - FONT_HEIGHT_SMALL) / 2;
}
display->drawCircle(compassX, compassY, getCompassDiam(display) / 2);
drawCompassNorth(display, compassX, compassY, screen->getHeading() * PI / 180);
screen->drawCompassNorth(display, compassX, compassY, screen->getHeading() * PI / 180);
}
#endif
};