Skip to content

Commit

Permalink
clear background
Browse files Browse the repository at this point in the history
  • Loading branch information
br-olf committed Jul 17, 2024
1 parent e0790b6 commit b023b5f
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/modules/gfx_circles.c
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,19 @@ int init(int moduleno, char* argstr)
void reset(int _modno)
{

for( u_int16_t x = 0; x < xmax; x++){

for( u_int16_t y = 0; y < ymax; y++){
matrix_set(x,y, black);
}
}

for( u_int16_t i = 0; i < P_MAX; i++ ){
reinit_circle(&points[i]);
xor_circle(&points[i], i);
}


nexttick = udate();
frame = 0;
}
Expand Down

0 comments on commit b023b5f

Please sign in to comment.