diff --git a/selfdrive/ui/ui.h b/selfdrive/ui/ui.h index af5be5b121..a8bcccf3dd 100644 --- a/selfdrive/ui/ui.h +++ b/selfdrive/ui/ui.h @@ -60,7 +60,7 @@ typedef enum UIStatus { STATUS_ALERT, } UIStatus; -static QColor bg_colors [] = { +const QColor bg_colors [] = { [STATUS_DISENGAGED] = QColor(0x17, 0x33, 0x49, 0xc8), [STATUS_ENGAGED] = QColor(0x17, 0x86, 0x44, 0xf1), [STATUS_WARNING] = QColor(0xDA, 0x6F, 0x25, 0xf1),