Skip to content

Commit

Permalink
ensure minimum show_time
Browse files Browse the repository at this point in the history
  • Loading branch information
2dom committed Feb 23, 2019
1 parent e179565 commit 4c2acb9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PxMatrix.h
Original file line number Diff line number Diff line change
Expand Up @@ -836,8 +836,8 @@ void PxMATRIX::latch(uint16_t show_time )


void PxMATRIX::display(uint16_t show_time) {
if (show_time < 5)
show_time =5;
if (show_time < 10)
show_time =10;
unsigned long start_time=0;
#ifdef ESP8266
ESP.wdtFeed();
Expand Down

0 comments on commit 4c2acb9

Please sign in to comment.