mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-08 02:17:07 +08:00
@@ -510,6 +510,7 @@ reset()
|
||||
{
|
||||
DevHandle h;
|
||||
DevMgr::getHandle(GPSSIM_DEVICE_PATH, h);
|
||||
|
||||
if (!h.isValid()) {
|
||||
PX4_ERR("failed ");
|
||||
}
|
||||
|
||||
@@ -90,6 +90,7 @@ LED::init()
|
||||
{
|
||||
DEVICE_DEBUG("LED::init");
|
||||
int ret = VirtDevObj::init();
|
||||
|
||||
if (ret == 0) {
|
||||
led_init();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user