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
295 stars 67 forks source link

WiFi Channel Parameter #53

Closed jlpoltrack closed 1 year ago

jlpoltrack commented 1 year ago

Add a define for WiFi channel, set to 13 which should overlap least with mLRS freq list and home WiFi.

Tested on my ESP32.

olliw42 commented 1 year ago

very good idea I actually had the very same idea and did some play with it this morning, just didn't added it

would you mind to not do it as a #define but as int wifi_channel = 13; ?

jlpoltrack commented 1 year ago

Okay to use 'uint8_t' data type?

olliw42 commented 1 year ago

good question. Pl use int. Somehow Arduino seems to uses this more often, and the function softAP() uses int.

jlpoltrack commented 1 year ago

Okay :)

olliw42 commented 1 year ago

MANY THX sir !!!