mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-23 03:00:56 +00:00
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:
@@ -26,7 +26,7 @@ class SinglePortModule : public MeshModule
|
||||
/**
|
||||
* Return a mesh packet which has been preinited as a data packet with a particular port number.
|
||||
* You can then send this packet (after customizing any of the payload fields you might need) with
|
||||
* service.sendToMesh()
|
||||
* service->sendToMesh()
|
||||
*/
|
||||
meshtastic_MeshPacket *allocDataPacket()
|
||||
{
|
||||
@@ -36,4 +36,4 @@ class SinglePortModule : public MeshModule
|
||||
|
||||
return p;
|
||||
}
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user