Skip to content

Commit

Permalink
Adding rick roll zmkfirmware#3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
AakashDabas committed Jul 3, 2023
1 parent a115a88 commit c1aaf5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/boards/shields/nice_view/widgets/peripheral_status.c
Original file line number Diff line number Diff line change
Expand Up @@ -898,11 +898,11 @@ void set_img_src(void *var, int32_t val) {

if(idx < 1000)
{
lv_img_set_src(img, rick_images[val++]);
lv_img_set_src(img, rick_images[val]);
}
else
{
lv_img_set_src(img, rocket_rush_images[(val++ - 159 ) % 78]);
lv_img_set_src(img, rocket_rush_images[(val - 159 ) % 78]);
}
}

Expand Down

0 comments on commit c1aaf5a

Please sign in to comment.