fix #346 limit tx power in japan

This commit is contained in:
geeksville
2020-09-15 18:54:50 -07:00
parent 7d4058f49d
commit c6d93d1a28
4 changed files with 30 additions and 0 deletions

View File

@@ -119,6 +119,12 @@ class RadioInterface : protected concurrency::NotifiedWorkerThread
virtual void loop() {} // Idle processing
/**
* Some regulatory regions limit xmit power.
* This function should be called by subclasses after setting their desired power. It might lower it
*/
void limitPower();
/**
* Convert our modemConfig enum into wf, sf, etc...
*