Multi-host support
This commit is contained in:
committed by
Scott Lahteine
parent
dabb75034c
commit
f7efac57b7
@@ -40,8 +40,15 @@
|
||||
//
|
||||
// Defines
|
||||
//
|
||||
#if SERIAL_PORT >= -1 && SERIAL_PORT <= 4
|
||||
#define MYSERIAL customizedSerial
|
||||
#define NUM_SERIAL 1
|
||||
|
||||
//#undef SERIAL_PORT
|
||||
//#define SERIAL_PORT -1
|
||||
|
||||
#if SERIAL_PORT == -1
|
||||
#define MYSERIAL0 SerialUSB
|
||||
#else
|
||||
#define MYSERIAL0 customizedSerial
|
||||
#endif
|
||||
|
||||
// We need the previous define before the include, or compilation bombs...
|
||||
@@ -147,6 +154,10 @@ uint16_t HAL_getAdcFreerun(uint8_t chan, bool wait_for_conversion = false);
|
||||
void HAL_enable_AdcFreerun(void);
|
||||
//void HAL_disable_AdcFreerun(uint8_t chan);
|
||||
|
||||
/**
|
||||
* Pin Map
|
||||
*/
|
||||
|
||||
#define GET_PIN_MAP_PIN(index) index
|
||||
#define GET_PIN_MAP_INDEX(pin) pin
|
||||
#define PARSED_PIN_INDEX(code, dval) parser.intval(code, dval)
|
||||
|
||||
Reference in New Issue
Block a user