This commit is contained in:
Pawel Spychalski (DzikuVx)
2017-10-22 20:14:28 +02:00
parent 08b16b4cea
commit 0a1b5feecd
3 changed files with 14 additions and 0 deletions

View File

@@ -16,6 +16,8 @@
#define QSP_PREAMBLE 0x51
#define QSP_PAYLOAD_LENGTH 32
#define QSP_MAX_FRAME_DECODE_TIME 50 //max time that frame can be decoded in ms
#define QSP_FRAME_RC_DATA 0x0
#define QSP_FRAME_RX_HEALTH 0x1
#define QSP_FRAME_GET_RX_CONFIG 0x2
@@ -72,6 +74,7 @@ struct QspConfiguration_t {
bool canTransmit = false;
bool forcePongFrame = false;
uint8_t debugConfig = 0;
uint32_t frameDecodingStartedAt = 0;
};
struct RxDeviceState_t {