The led control of px4

why the led control is not a absolute module?

I don’t know the history of the LED control code, but if you have any suggestions for improvement pull requests are always welcome.