Skip to content

Commit

Permalink
adding a third level of debug
Browse files Browse the repository at this point in the history
  • Loading branch information
andreagilardoni committed Nov 19, 2024
1 parent 340c337 commit 7758664
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libraries/WiFiS3/src/Modem.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ class ModemClass {
void debug(Stream &u, uint8_t level = 0) {
_serial_debug = &u;

if(level > 2) {
level = 2;
if(level > 3) {
level = 3;
}
_debug_level = level;
}
Expand Down

0 comments on commit 7758664

Please sign in to comment.