Skip to content
Snippets Groups Projects
Commit 83a387a5 authored by José Roberto de Souza's avatar José Roberto de Souza Committed by Lorenz Meier
Browse files

drivers: Led: Do not initialize twice

parent d66d7a49
No related branches found
No related tags found
No related merge requests found
......@@ -139,9 +139,5 @@ drv_led_start(void)
{
if (gLED == nullptr) {
gLED = new LED;
if (gLED != nullptr) {
gLED->init();
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment