@@ -44,7 +44,7 @@ typedef enum
44
44
LG290P_RESULT_CONFIG_PRESENT,
45
45
} LG290PResult;
46
46
47
- enum { COM_TYPE_NMEA = 1 , COM_TYPE_RTCM3 = 4 };
47
+ enum { LG290P_COM_TYPE_NMEA = 1 , LG290P_COM_TYPE_RTCM3 = 4 };
48
48
49
49
class LG290P
50
50
{
@@ -294,24 +294,24 @@ class LG290P
294
294
/* *
295
295
* @brief Enable or disable the protocols available for input on the specified port
296
296
* @param port the LG290P port to be configured (1, 2, or 3)
297
- * @param newFlags a bitfield: some combination of COM_TYPE_NMEA and COM_TYPE_RTCM3 . 0 for disable all.
297
+ * @param newFlags a bitfield: some combination of LG290P_COM_TYPE_NMEA and LG290P_COM_TYPE_RTCM3 . 0 for disable all.
298
298
* @return true if the new input protocols were enabled/disabled
299
299
*/
300
300
bool setPortInputProtocols (int port, uint8_t newFlags);
301
301
302
302
/* *
303
303
* @brief Enable or disable the protocols available for output on the specified port
304
304
* @param port the LG290P port to be configured (1, 2, or 3)
305
- * @param newFlags a bitfield: some combination of COM_TYPE_NMEA and COM_TYPE_RTCM3 . 0 for disable all.
305
+ * @param newFlags a bitfield: some combination of LG290P_COM_TYPE_NMEA and LG290P_COM_TYPE_RTCM3 . 0 for disable all.
306
306
* @return true if the new output protocols were enabled/disabled
307
307
*/
308
308
bool setPortOutputProtocols (int port, uint8_t newFlags);
309
309
310
310
/* *
311
311
* @brief Get the current protocol enable/disable status for the specified port
312
312
* @param port the LG290P port to be configured (1, 2, or 3)
313
- * @param inputFlags a reference to a bitfield: returns some combination of COM_TYPE_NMEA and COM_TYPE_RTCM3 . 0 for all disabled
314
- * @param outputFlags a reference to a bitfield: returns some combination of COM_TYPE_NMEA and COM_TYPE_RTCM3 . 0 for all disabled
313
+ * @param inputFlags a reference to a bitfield: returns some combination of LG290P_COM_TYPE_NMEA and LG290P_COM_TYPE_RTCM3 . 0 for all disabled
314
+ * @param outputFlags a reference to a bitfield: returns some combination of LG290P_COM_TYPE_NMEA and LG290P_COM_TYPE_RTCM3 . 0 for all disabled
315
315
* @return true if the new protocol flags were successfully acquired
316
316
*/
317
317
bool getPortProtocols (int port, uint8_t &inputFlags, uint8_t &outputFlags);
0 commit comments