Skip to content

Commit

Permalink
Merge pull request #9694 from Sola85/fix-epaperdisplay-delay
Browse files Browse the repository at this point in the history
epaperdisplay: fix delay when two_byte_sequence_length is true
  • Loading branch information
dhalbert authored Oct 8, 2024
2 parents fe20582 + af7d8b7 commit 44748ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shared-module/epaperdisplay/EPaperDisplay.c
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ static void send_command_sequence(epaperdisplay_epaperdisplay_obj_t *self,
uint16_t delay_length_ms = 0;
if (delay) {
data_size++;
delay_length_ms = *(cmd + 1 + data_size);
delay_length_ms = *(cmd + 1 + data_size + self->two_byte_sequence_length);
if (delay_length_ms == 255) {
delay_length_ms = 500;
}
Expand Down

0 comments on commit 44748ab

Please sign in to comment.