[PHY] getMod moved to private and only acessible to friend classes
This commit is contained in:
parent
701e2c4a21
commit
907de02a79
1 changed files with 11 additions and 2 deletions
|
@ -300,8 +300,6 @@ class PhysicalLayer {
|
|||
*/
|
||||
uint8_t read();
|
||||
|
||||
virtual Module* getMod() = 0;
|
||||
|
||||
protected:
|
||||
void updateDirectBuffer(uint8_t bit);
|
||||
|
||||
|
@ -320,6 +318,17 @@ class PhysicalLayer {
|
|||
uint8_t _directSyncWordLen;
|
||||
uint32_t _directSyncWordMask;
|
||||
bool _gotSync;
|
||||
|
||||
virtual Module* getMod() = 0;
|
||||
|
||||
// allow specific classes access the private getMod method
|
||||
friend class AFSKClient;
|
||||
friend class RTTYClient;
|
||||
friend class MorseClient;
|
||||
friend class HellClient;
|
||||
friend class SSTVClient;
|
||||
friend class AX25Client;
|
||||
friend class FSK4Client;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue