mirror of
https://github.com/mikecarper/MeshCore.git
synced 2026-09-14 17:05:53 +00:00
15 lines
412 B
C++
15 lines
412 B
C++
#pragma once
|
|
|
|
#include <stdint.h>
|
|
|
|
// CommonRadioPrefs applies live settings through the target's global radio
|
|
// driver. Native serializer tests do not build a hardware variant, so provide
|
|
// the narrow interface that helper needs.
|
|
class NativeRadioDriverMock {
|
|
public:
|
|
bool setRxBoostedGainMode(bool) { return true; }
|
|
bool setTxPower(int8_t) { return true; }
|
|
};
|
|
|
|
inline NativeRadioDriverMock radio_driver;
|