From 58a42be38f768d0a596d53d629b127483493e3a3 Mon Sep 17 00:00:00 2001 From: hexkyz Date: Fri, 31 Aug 2018 22:46:08 +0000 Subject: [PATCH] fusee: Comment out splash screen delay. --- fusee/fusee-secondary/src/splash_screen.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/fusee/fusee-secondary/src/splash_screen.c b/fusee/fusee-secondary/src/splash_screen.c index c317d3797..dd0591b9a 100644 --- a/fusee/fusee-secondary/src/splash_screen.c +++ b/fusee/fusee-secondary/src/splash_screen.c @@ -1,5 +1,4 @@ #include -#include "utils.h" #include "timers.h" #include "splash_screen.h" #include "fs_utils.h" @@ -7,7 +6,7 @@ void display_splash_screen_bmp(const char *custom_splash_path) { uint8_t *splash_screen = g_default_splash_screen; - if (custom_splash_path != NULL && custom_splash_path[0] != '\x00') { + if ((custom_splash_path != NULL) && (custom_splash_path[0] != '\x00')) { if (!read_from_file(splash_screen, sizeof(g_default_splash_screen), custom_splash_path)) { fatal_error("Failed to read custom splash screen from %s!\n", custom_splash_path); } @@ -16,5 +15,5 @@ void display_splash_screen_bmp(const char *custom_splash_path) { /* TODO: Display the splash screen. It should be a pointer to a BMP, at this point. */ /* Display the splash screen for three seconds. */ - wait(3000000); + /* udelay(3000000); */ }