fixed height calculation

This commit is contained in:
Sascha Nitsch 2022-03-22 03:43:49 +01:00
parent 46ee10990a
commit 9337d28e75

View file

@ -443,7 +443,7 @@ void CimditProfile::showActivate() {
w = w >> 1;
h = 8;
}
display.setCursor((SCREEN_WIDTH - w) >> 1, (SCREEN_HEIGHT >> 1) + ((SCREEN_HEIGHT - h)>> 1));
display.setCursor((SCREEN_WIDTH - w) >> 1, SCREEN_HEIGHT- h);
display.write(m_profiles[m_selectingProfile]);
display.write("?");
display.display();