Skip to content

Commit

Permalink
Modem: suppress Wunused-parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
pennam committed Nov 28, 2024
1 parent 118cdb0 commit 6bac645
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libraries/WiFiS3/src/Modem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ bool ModemClass::passthrough(const uint8_t *data, size_t size) {
/* -------------------------------------------------------------------------- */
void ModemClass::write_nowait(const string &cmd, string &str, const char * fmt, ...) {
/* -------------------------------------------------------------------------- */
(void)cmd;
(void)str;

va_list va;
va_start (va, fmt);
vsnprintf((char *)tx_buff, MAX_BUFF_SIZE, fmt, va);
Expand Down

0 comments on commit 6bac645

Please sign in to comment.