From 942f7c0a040dd154a8c3b9075baadcec81884748 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Mon, 20 Aug 2018 23:24:39 -0400 Subject: Use scheme.h in fbatt and fbclock --- bin/fbclock.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'bin/fbclock.c') diff --git a/bin/fbclock.c b/bin/fbclock.c index 6b284aac..20c7b6c6 100644 --- a/bin/fbclock.c +++ b/bin/fbclock.c @@ -28,6 +28,8 @@ #include #include +#include "scheme.h" + static const uint32_t PSF2_MAGIC = 0x864AB572; struct Psf2Header { uint32_t magic; @@ -40,8 +42,8 @@ struct Psf2Header { uint32_t glyphWidth; }; -static const uint32_t BG = 0x161510; -static const uint32_t FG = 0x7A7155; +static const uint32_t BG = SCHEME.darkBlack; +static const uint32_t FG = SCHEME.darkWhite; int main() { size_t len; -- cgit 1.4.1