fix simradio init to work more like real radios

This commit is contained in:
Kevin Hester
2021-03-30 23:39:51 +08:00
parent 5fdcb72d46
commit b68397a911
4 changed files with 21 additions and 16 deletions

View File

@@ -212,13 +212,6 @@ class SimRadio : public RadioInterface
{
public:
virtual ErrorCode send(MeshPacket *p);
// methods from radiohead
/// Initialise the Driver transport hardware and software.
/// Make sure the Driver is properly configured before calling init().
/// \return true if initialisation succeeded.
virtual bool init() { return true; }
};
/// Debug printing for packets