olliw42 / mLRS

2.4 GHz & 915/868 MHz & 433 MHz/70 cm LoRa based telemetry and radio link for remote controlled vehicles
GNU General Public License v3.0
266 stars 55 forks source link

bug: esp32 diversity, allow antenna2 #200

Open olliw42 opened 2 weeks ago

olliw42 commented 2 weeks ago

on the esp32 receivers with diversity, which use single spi, selecting antenna2 will make it crash. This is attributed to how the spi and sx are initialized. Needs to be corrected however.