From fbe9e4ac10001f931b2f3b9898e3292d36e8cc7c Mon Sep 17 00:00:00 2001 From: Aidan MacDonald Date: Sat, 19 Mar 2022 13:54:25 +0000 Subject: x1000: bootloader: refactor splash/splash2 Allow the use of printf formatting and multiple lines of text using newlines in the string. Change-Id: I65919bf29c16c34c38cf3995e02d2ddbbaa4bdf3 --- bootloader/x1000/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bootloader/x1000/main.c') diff --git a/bootloader/x1000/main.c b/bootloader/x1000/main.c index c507b1d2c9..0909a4c72a 100644 --- a/bootloader/x1000/main.c +++ b/bootloader/x1000/main.c @@ -44,7 +44,7 @@ void main(void) enable_irq(); if(storage_init() < 0) { - splash(5*HZ, "storage_init() failed"); + splashf(5*HZ, "storage_init() failed"); power_off(); } -- cgit v1.2.3