Skip to content

Commit

Permalink
Remove cycle count
Browse files Browse the repository at this point in the history
  • Loading branch information
Gadgetoid committed Jan 31, 2020
1 parent e4be893 commit d3a4076
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions 32blit-stm32/Src/32blit.c
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,6 @@ uint32_t blit_update_dac(FIL *audio_file) {
void blit_tick() {
if(needs_render) {
blit::render(blit::now());
blit::fb.pen(rgba(255, 255, 255));
blit::fb.text(std::to_string(flip_cycle_count), &minimal_font[0][0], point(0, 0));

HAL_LTDC_ProgramLineEvent(&hltdc, 252);
needs_render = false;
Expand Down Expand Up @@ -574,7 +572,7 @@ void blit_process_input() {
}

blit_last_buttons = blit::buttons;
flip_cycle_count = DWT->CYCCNT - scc;
//flip_cycle_count = DWT->CYCCNT - scc;
}

char *get_fr_err_text(FRESULT err){
Expand Down

0 comments on commit d3a4076

Please sign in to comment.