Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SX1268 module support and base class for SX126x module family #865

Merged
merged 11 commits into from
Sep 18, 2021
Prev Previous commit
Use EU433 frequency value as default for SX1268
osmanovv committed Sep 18, 2021
commit 16d2c565e878fefd9bc426efe9782a2199af2252
4 changes: 2 additions & 2 deletions src/mesh/SX1268Interface.h
Original file line number Diff line number Diff line change
@@ -8,8 +8,8 @@
class SX1268Interface : public SX126xInterface<SX1268>
{
public:
/// override frequency of the SX1268 module regardless of the region
virtual float getFreq() { return 433.0; }
/// override frequency of the SX1268 module regardless of the region (use EU433 value)
virtual float getFreq() { return 433.175f; }

SX1268Interface(RADIOLIB_PIN_TYPE cs, RADIOLIB_PIN_TYPE irq, RADIOLIB_PIN_TYPE rst, RADIOLIB_PIN_TYPE busy, SPIClass &spi);
};