9c1a490963
that allows messages to go back from the IOP to Raduino. I don't know if actual CAT from the PC works currently, however.
46 lines
855 B
C
46 lines
855 B
C
//======================================================================
|
|
// ubitx_iop.h
|
|
//======================================================================
|
|
|
|
#ifndef __ubitx_iop_h__
|
|
#define __ubitx_iop_h__
|
|
|
|
#include "config.h"
|
|
#include "audio.h"
|
|
#include "cat.h"
|
|
#include "eeprom.h"
|
|
#include "keyer.h"
|
|
|
|
// comment this out to disable debugging code
|
|
#define DEBUG
|
|
|
|
#if defined(DEBUG)
|
|
#define USBDEBUG(x) USBSERIAL.print("IOP: "); USBSERIAL.println(x);
|
|
#else
|
|
#define USBDEBUG(x)
|
|
#endif
|
|
|
|
//enum RigMode {
|
|
// MODE_SSB = 0,
|
|
// MODE_DIGI = 1,
|
|
// MODE_CW = 2,
|
|
//};
|
|
|
|
enum TxState {
|
|
TX_OFF = 0,
|
|
TX_MIC,
|
|
TX_LINE,
|
|
TX_CAT,
|
|
TX_KEYER,
|
|
};
|
|
|
|
extern RigMode rigMode;
|
|
|
|
extern bool keyerKeyDown;
|
|
|
|
#endif
|
|
|
|
//======================================================================
|
|
// EOF
|
|
//======================================================================
|