From 514111ca85daeda3d12feebac3f40cbdfa50fd81 Mon Sep 17 00:00:00 2001 From: Dean Lee Date: Mon, 7 Jun 2021 15:04:16 +0800 Subject: [PATCH] ui.h: const bg_colors (#21169) --- selfdrive/ui/ui.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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),