mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-05 07:28:29 -04:00
AP_SerialManager: added Hott telem
This commit is contained in:
parent
300c6349cb
commit
c776455214
@ -642,7 +642,7 @@ bool AP_SerialManager::protocol_match(enum SerialProtocol protocol1, enum Serial
|
|||||||
}
|
}
|
||||||
|
|
||||||
// setup any special options
|
// setup any special options
|
||||||
void AP_SerialManager::set_options(uint8_t i)
|
void AP_SerialManager::set_options(uint16_t i)
|
||||||
{
|
{
|
||||||
struct UARTState &opt = state[i];
|
struct UARTState &opt = state[i];
|
||||||
// pass through to HAL
|
// pass through to HAL
|
||||||
|
@ -123,6 +123,7 @@ public:
|
|||||||
SerialProtocol_WindVane = 21,
|
SerialProtocol_WindVane = 21,
|
||||||
SerialProtocol_SLCAN = 22,
|
SerialProtocol_SLCAN = 22,
|
||||||
SerialProtocol_RCIN = 23,
|
SerialProtocol_RCIN = 23,
|
||||||
|
SerialProtocol_Hott = 27,
|
||||||
};
|
};
|
||||||
|
|
||||||
// get singleton instance
|
// get singleton instance
|
||||||
@ -197,7 +198,7 @@ private:
|
|||||||
bool protocol_match(enum SerialProtocol protocol1, enum SerialProtocol protocol2) const;
|
bool protocol_match(enum SerialProtocol protocol1, enum SerialProtocol protocol2) const;
|
||||||
|
|
||||||
// setup any special options
|
// setup any special options
|
||||||
void set_options(uint8_t i);
|
void set_options(uint16_t i);
|
||||||
};
|
};
|
||||||
|
|
||||||
namespace AP {
|
namespace AP {
|
||||||
|
Loading…
Reference in New Issue
Block a user