AP_SerialManager: added Hott telem

This commit is contained in:
Andrew Tridgell 2020-05-11 17:42:35 +10:00
parent 688edc3d95
commit 5c46a0f2a7
2 changed files with 3 additions and 2 deletions

View File

@ -642,7 +642,7 @@ bool AP_SerialManager::protocol_match(enum SerialProtocol protocol1, enum Serial
}
// 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];
// pass through to HAL

View File

@ -123,6 +123,7 @@ public:
SerialProtocol_WindVane = 21,
SerialProtocol_SLCAN = 22,
SerialProtocol_RCIN = 23,
SerialProtocol_Hott = 27,
};
// get singleton instance
@ -197,7 +198,7 @@ private:
bool protocol_match(enum SerialProtocol protocol1, enum SerialProtocol protocol2) const;
// setup any special options
void set_options(uint8_t i);
void set_options(uint16_t i);
};
namespace AP {