mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-23 15:24:28 +08:00
led: Fixed code style
This commit is contained in:
1 parent
2993c5dd12
commit
7a33697b85
1 file changed
+4
-1
@@ -125,6 +125,7 @@ LED::ioctl(device::file_t *filp, int cmd, unsigned long arg)
|
||||
result = VDev::ioctl(filp, cmd, arg);
|
||||
#endif
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -138,7 +139,9 @@ drv_led_start(void)
|
||||
{
|
||||
if (gLED == nullptr) {
|
||||
gLED = new LED;
|
||||
if (gLED != nullptr)
|
||||
|
||||
if (gLED != nullptr) {
|
||||
gLED->init();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user