mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-02 10:24:11 +01:00
telemetry: fix comments around #ifdef
No functional changes. The closing comment on some of the USB_HID related ifdefs was outdated. Fixed. git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1541 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
parent
1690e500e9
commit
95595664c3
@ -317,7 +317,7 @@ static void telemetryRxTask(void* parameters)
|
||||
inputPort = PIOS_COM_TELEM_USB;
|
||||
}
|
||||
else
|
||||
#endif /* ALLOW_HID_TELEMETRY */
|
||||
#endif /* PIOS_INCLUDE_USB_HID */
|
||||
{
|
||||
inputPort = telemetryPort;
|
||||
}
|
||||
@ -351,7 +351,7 @@ static int32_t transmitData(uint8_t* data, int32_t length)
|
||||
outputPort = PIOS_COM_TELEM_USB;
|
||||
}
|
||||
else
|
||||
#endif /* ALLOW_HID_TELEMETRY */
|
||||
#endif /* PIOS_INCLUDE_USB_HID */
|
||||
{
|
||||
outputPort = telemetryPort;
|
||||
}
|
||||
|
@ -550,7 +550,7 @@ struct pios_com_dev pios_com_devs[] = {
|
||||
.id = PIOS_USART_GPS,
|
||||
.driver = &pios_usart_com_driver,
|
||||
},
|
||||
#ifdef PIOS_INCLUDE_USB_HID
|
||||
#if defined(PIOS_INCLUDE_USB_HID)
|
||||
{
|
||||
.id = 0,
|
||||
.driver = &pios_usb_com_driver,
|
||||
|
Loading…
Reference in New Issue
Block a user