forked from Archive/PX4-Autopilot
led: Fixed code style
This commit is contained in:
parent
2993c5dd12
commit
7a33697b85
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue