mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-21 00:33:33 +08:00
Updated PX4 use / API of low level GPIO and other hardware-centric system facilities
This commit is contained in:
@@ -52,5 +52,5 @@ __EXPORT int usb_connected_main(int argc, char *argv[]);
|
||||
int
|
||||
usb_connected_main(int argc, char *argv[])
|
||||
{
|
||||
return stm32_gpioread(GPIO_OTGFS_VBUS) ? 0 : 1;
|
||||
return px4_arch_gpioread(GPIO_OTGFS_VBUS) ? 0 : 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user