Revamp yaml config for Raspbian

This commit is contained in:
Jonathan Bennett
2023-11-19 14:00:03 -06:00
parent 08297bb0b7
commit 4af90eeb39
5 changed files with 40 additions and 53 deletions

View File

@@ -79,7 +79,7 @@ template <typename T> bool SX126xInterface<T>::init()
bool dio2AsRfSwitch = true;
#elif defined(ARCH_RASPBERRY_PI)
bool dio2AsRfSwitch = false;
if (settingsMap[sx126x_dio2_as_rf_switch]) {
if (settingsMap[dio2_as_rf_switch]) {
LOG_DEBUG("Setting DIO2 as RF switch\n");
dio2AsRfSwitch = true;
}