Skip to content

Commit

Permalink
oled_display.display() is already called in the GUI loop
Browse files Browse the repository at this point in the history
  • Loading branch information
jmamma committed Oct 22, 2024
1 parent 773d3cf commit d7d4bdc
Show file tree
Hide file tree
Showing 21 changed files with 0 additions and 21 deletions.
1 change: 0 additions & 1 deletion avr/cores/megacommand/MCL/ArpPage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ void ArpPage::display() {
mcl_gui.put_value_at(encoders[3]->cur, str);
mcl_gui.draw_text_encoder(x + 3 * mcl_gui.knob_w, y, "RANGE", str, param_select == 3);

oled_display.display();
oled_display.setFont(oldfont);
}

Expand Down
1 change: 0 additions & 1 deletion avr/cores/megacommand/MCL/FXPage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ void FXPage::display() {
}
info2 = &fx_page_title[0];
mcl_gui.draw_panel_labels(info1, info2);
oled_display.display();
oled_display.setFont(oldfont);
}

Expand Down
1 change: 0 additions & 1 deletion avr/cores/megacommand/MCL/FileBrowserPage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,6 @@ void FileBrowserPage::display() {
}
draw_sidebar();
draw_filebrowser();
oled_display.display();
return;
}

Expand Down
1 change: 0 additions & 1 deletion avr/cores/megacommand/MCL/GridLoadPage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,6 @@ void GridLoadPage::display() {
oled_display.print(F("SEQ"));
*/
}
oled_display.display();
oled_display.setFont(oldfont);
}
void GridLoadPage::load() {
Expand Down
1 change: 0 additions & 1 deletion avr/cores/megacommand/MCL/GridPage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,6 @@ void GridPage::display() {
mcl_gui.draw_progress_bar(8, 8, false, 18, 2, 9, 7, false);
}
*/
oled_display.display();
}

void rename_row() {
Expand Down
1 change: 0 additions & 1 deletion avr/cores/megacommand/MCL/GridSavePage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ void GridSavePage::display() {
oled_display.setCursor(data_x + 24 + 9, MCLGUI::s_menu_y + 18);
oled_display.print(F("GRID"));
}
oled_display.display();
oled_display.setFont(oldfont);
}

Expand Down
1 change: 0 additions & 1 deletion avr/cores/megacommand/MCL/LFOPage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,6 @@ void LFOPage::display() {

mcl_gui.draw_panel_labels(info1, info2);

oled_display.display();
oled_display.setFont(oldfont);
}

Expand Down
1 change: 0 additions & 1 deletion avr/cores/megacommand/MCL/MenuPage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,6 @@ void MenuPageBase::display() {
if (number_of_items > visible_rows) {
draw_scrollbar(120);
}
oled_display.display();
}

bool MenuPageBase::enter() {
Expand Down
1 change: 0 additions & 1 deletion avr/cores/megacommand/MCL/OscMixerPage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ void OscMixerPage::display() {
scanline_width = 4;
draw_wav();
}
oled_display.display();
oled_display.setFont(oldfont);
}

Expand Down
1 change: 0 additions & 1 deletion avr/cores/megacommand/MCL/OscPage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,6 @@ void OscPage::display() {
}
// GUI.put_string_at(0, my_str);
WavDesignerPage::display();
oled_display.display();
oled_display.setFont(oldfont);
}
void OscPage::draw_wav(uint8_t wav_type) {
Expand Down
1 change: 0 additions & 1 deletion avr/cores/megacommand/MCL/PageSelectPage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,6 @@ void PageSelectPage::display() {
WHITE);
}

oled_display.display();
uint16_t led_mask = 1 << page_select;
if (trigled_mask != led_mask) {
trigled_mask = led_mask;
Expand Down
1 change: 0 additions & 1 deletion avr/cores/megacommand/MCL/PerfPage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,6 @@ void PerfPage::display() {
oled_display.writeFastHLine(109, MCLGUI::pane_info2_y + 1, 5, WHITE);
oled_display.writeFastVLine(109 + ((e->cur * 5) / 128), MCLGUI::pane_info2_y,
3, WHITE);
oled_display.display();
}


Expand Down
1 change: 0 additions & 1 deletion avr/cores/megacommand/MCL/PolyPage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ void PolyPage::display() {
}

oled_display.setFont(oldfont);
oled_display.display();
}

bool PolyPage::handleEvent(gui_event_t *event) {
Expand Down
1 change: 0 additions & 1 deletion avr/cores/megacommand/MCL/QuestionDialogPage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ void QuestionDialogPage::init(const char* title_, const char* text_) {
oled_display.drawRect(MCLGUI::dlg_info_x2 - 57, MCLGUI::dlg_info_y1 + 16, 18, 9, WHITE);

oled_display.setFont(oldfont);
oled_display.display();
}

void QuestionDialogPage::display() {
Expand Down
1 change: 0 additions & 1 deletion avr/cores/megacommand/MCL/RAMPage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,6 @@ void RAMPage::display() {
}
wheel_spin_last_clock = MidiClock.div16th_counter;
}
oled_display.display();
oled_display.setFont(oldfont);
}

Expand Down
1 change: 0 additions & 1 deletion avr/cores/megacommand/MCL/RoutePage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@ void RoutePage::display() {
mcl_gui.draw_panel_labels("ROUTE", info_line2);

draw_routes();
oled_display.display();
oled_display.setFont(oldfont);
}

Expand Down
1 change: 0 additions & 1 deletion avr/cores/megacommand/MCL/SampleBrowserPage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ void SampleBrowserPage::display() {
FileBrowserPage::selection_change = false;
end:
draw_filebrowser();
oled_display.display();
}

void SampleBrowserPage::init(uint8_t show_samplemgr_) {
Expand Down
1 change: 0 additions & 1 deletion avr/cores/megacommand/MCL/SeqExtStepPage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -804,7 +804,6 @@ void SeqExtStepPage::display() {
}
// oled_display.fillRect(draw_x, 0, 1 , fov_h, WHITE);

oled_display.display();
#endif
}

Expand Down
1 change: 0 additions & 1 deletion avr/cores/megacommand/MCL/SeqPtcPage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,6 @@ void SeqPtcPage::display() {
if (show_seq_menu) {
display_mute_mask(midi_active_peering.get_device(UART2_PORT), 8);
}
oled_display.display();
oled_display.setFont(oldfont);
}

Expand Down
1 change: 0 additions & 1 deletion avr/cores/megacommand/MCL/SeqStepPage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,6 @@ void SeqStepPage::display() {
page_select_page.md_prepare();
prepare = false;
}
oled_display.display();
oled_display.setFont(oldfont);
}

Expand Down
1 change: 0 additions & 1 deletion avr/cores/megacommand/MCL/TextInputPage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,6 @@ void TextInputPage::display() {
else
display_charpane();

oled_display.display();
}

bool TextInputPage::handleEvent(gui_event_t *event) {
Expand Down

0 comments on commit d7d4bdc

Please sign in to comment.