return bool when setting rx boost

This commit is contained in:
taco committed 2026-06-26 07:44:01 +10:00
1 parent e076cd4e3d
commit 1a90abdbe2
9 files changed
+15 -15

No files matched your search

+2 -2
View File
@@ -36,8 +36,8 @@ public:
uint8_t getSpreadingFactor() const override { return ((CustomLR1110 *)_radio)->getSpreadingFactor(); }
void setRxBoostedGainMode(bool en) override {
((CustomLR1110 *)_radio)->setRxBoostedGainMode(en);
bool setRxBoostedGainMode(bool en) override {
return ((CustomLR1110 *)_radio)->setRxBoostedGainMode(en) == RADIOLIB_ERR_NONE;
}
bool getRxBoostedGainMode() const override {
return ((CustomLR1110 *)_radio)->getRxBoostedGainMode();