Copied from stm32, seems a bit buggy, only works sometimes (sets the wrong color when not working).
Copied from stm32, seems a bit buggy, only works sometimes (sets the wrong color when not working).