Skip to content

Commit

Permalink
fix(docs): remove doxygen warnings
Browse files Browse the repository at this point in the history
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
  • Loading branch information
fpistm committed Oct 6, 2022
1 parent 111347d commit ecccc5e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/STM32LoRaWAN.h
Original file line number Diff line number Diff line change
Expand Up @@ -500,6 +500,7 @@ class STM32LoRaWAN : public Stream {
*
* \param mode This parameter is ignored, the mode is automatically
* determined based on the selected power.
* \param index See power(uint8_t) for details.
*/
bool power(_rf_mode mode, uint8_t index) { (void)mode; return power(index); }

Expand Down Expand Up @@ -992,8 +993,8 @@ class STM32LoRaWAN : public Stream {
* Helper that prints an error and then always returns false, to
* allow for combining reporting and returning in a single line.
*/
__attribute__((format(printf, 1, 2)))
static bool failure(const char *fmt, ...);
static bool failure(const char *fmt, ...)
__attribute__((format(printf, 1, 2)));

/** Empty the rx buffer */
void clear_rx() { rx_ptr = rx_buf + sizeof(rx_buf); }
Expand Down

0 comments on commit ecccc5e

Please sign in to comment.