Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/helpers/ConfigSerializer.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#include "ConfigSerializer.h"

#include <stdlib.h> // atoi/atol/atof -- reaches these via Arduino.h on MCU
// targets, but not in the host `native` test build

bool ConfigSerializer::saveSerial(Stream& s) {
Context context(&s, OP::WRITE);
_context = &context; // set the context for structure() call
Expand Down
2 changes: 1 addition & 1 deletion src/helpers/radiolib/CustomLLCC68Wrapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class CustomLLCC68Wrapper : public RadioLibWrapper {
}
uint8_t getSpreadingFactor() const override { return ((CustomLLCC68 *)_radio)->spreadingFactor; }

void doResetAGC() override { sx126xResetAGC((SX126x *)_radio); }
void doResetAGC() override { sx126xResetAGC((SX126x *)_radio, getRxBoostedGainMode()); }

bool setRxBoostedGainMode(bool en) override {
return ((CustomLLCC68 *)_radio)->setRxBoostedGainMode(en) == RADIOLIB_ERR_NONE;
Expand Down
2 changes: 1 addition & 1 deletion src/helpers/sensors/LocationProvider.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class LocationProvider {
virtual long satellitesCount() = 0;
virtual bool isValid() = 0;
virtual long getTimestamp() = 0;
virtual void sendSentence(const char * sentence);
virtual void sendSentence(const char * sentence) {}
virtual void reset() = 0;
virtual void begin() = 0;
virtual void stop() = 0;
Expand Down
Loading