Make SPI frequency and TOPHONE queue size configurable on Native (#4369)

* Make SPI frequency configurable on Native

* Make the tophone queue size configurable for Portduino

* The modified SPISettings must be configured in setup(), after config.yaml is processed

* make MeshService a pointer, so we can configure MAX_RX_TOPHONE at run time

* Got a little over excited with refactoring

* Silence a warning
This commit is contained in:
Jonathan Bennett authored and GitHub committed 2024-08-01 19:29:49 -05:00
1 parent 4c1c5b070e
commit d2ea430a3e
36 files changed
+110 -83

No files matched your search

+2
View File
@@ -19,6 +19,7 @@ enum configNames {
user,
gpiochip,
spidev,
spiSpeed,
i2cdev,
has_gps,
touchscreenModule,
@@ -51,6 +52,7 @@ enum configNames {
webserver,
webserverport,
webserverrootpath,
maxtophone,
maxnodes
};
enum { no_screen, x11, st7789, st7735, st7735s, st7796, ili9341, ili9488, hx8357d };