mirror of
https://github.com/g4klx/MMDVM.git
synced 2026-10-17 01:04:11 +02:00
Add DMR calibration.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
/*
|
||||
* Copyright (C) 2015,2016 by Jonathan Naylor G4KLX
|
||||
* Copyright (C) 2016 by Colin Durbridge G4EML
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@@ -29,7 +30,8 @@ enum DMRTXSTATE {
|
||||
DMRTXSTATE_SLOT1,
|
||||
DMRTXSTATE_CACH1,
|
||||
DMRTXSTATE_SLOT2,
|
||||
DMRTXSTATE_CACH2
|
||||
DMRTXSTATE_CACH2,
|
||||
DMRTXSTATE_CAL
|
||||
};
|
||||
|
||||
class CDMRTX {
|
||||
@@ -41,6 +43,7 @@ public:
|
||||
uint8_t writeShortLC(const uint8_t* data, uint8_t length);
|
||||
|
||||
void setStart(bool start);
|
||||
void setCal(bool start);
|
||||
|
||||
void process();
|
||||
|
||||
@@ -66,6 +69,7 @@ private:
|
||||
|
||||
void createData(uint8_t slotIndex);
|
||||
void createCACH(uint8_t txSlotIndex, uint8_t rxSlotIndex);
|
||||
void createCal();
|
||||
void writeByte(uint8_t c, uint8_t control);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user