From 10c5191f16deddb2402d786b6f4028365ead8f4e Mon Sep 17 00:00:00 2001 From: Dominic Date: Wed, 8 May 2024 09:07:55 +0100 Subject: [PATCH] fixes overload warnings in ESP-IDF --- src/modules/SX126x/SX126x.h | 3 --- src/modules/SX128x/SX128x.h | 2 -- 2 files changed, 5 deletions(-) diff --git a/src/modules/SX126x/SX126x.h b/src/modules/SX126x/SX126x.h index 91cee5b66..747a60e58 100644 --- a/src/modules/SX126x/SX126x.h +++ b/src/modules/SX126x/SX126x.h @@ -552,10 +552,7 @@ class SX126x: public PhysicalLayer { or to false to discard current configuration ("cold start"). Defaults to true. \returns \ref status_codes */ - - int16_t sleep(); - int16_t sleep(bool retainConfig); /*! diff --git a/src/modules/SX128x/SX128x.h b/src/modules/SX128x/SX128x.h index 68a6954ec..962b5550b 100644 --- a/src/modules/SX128x/SX128x.h +++ b/src/modules/SX128x/SX128x.h @@ -463,9 +463,7 @@ class SX128x: public PhysicalLayer { to discard current configuration and data buffer. Defaults to true. \returns \ref status_codes */ - int16_t sleep(); - int16_t sleep(bool retainConfig); /*!