Skip to content

Commit

Permalink
Modem: add explicit fall through
Browse files Browse the repository at this point in the history
  • Loading branch information
pennam committed Nov 28, 2024
1 parent 6bac645 commit 75bbb30
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libraries/WiFiS3/src/Modem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,7 @@ ModemClass::ParseResult ModemClass::buf_read(const string &prompt, string &data_
if(c == '\n') {
state = at_parse_state_t::Res;
}
/* fall through */

/*
* break is volountary not present, to cover for cases where the response status is in the
Expand Down

0 comments on commit 75bbb30

Please sign in to comment.