Skip to content

Commit ecccc5e

Browse files
committed
fix(docs): remove doxygen warnings
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent 111347d commit ecccc5e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/STM32LoRaWAN.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -500,6 +500,7 @@ class STM32LoRaWAN : public Stream {
500500
*
501501
* \param mode This parameter is ignored, the mode is automatically
502502
* determined based on the selected power.
503+
* \param index See power(uint8_t) for details.
503504
*/
504505
bool power(_rf_mode mode, uint8_t index) { (void)mode; return power(index); }
505506

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

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

0 commit comments

Comments
 (0)