From 2459f50075b49683f1e31cfc7d2a564ae974ebce Mon Sep 17 00:00:00 2001 From: "Blake W. Ford" Date: Tue, 12 Feb 2019 01:26:32 -0600 Subject: [PATCH] Prevent Error: symbol loopto is already defined with -O3 optimization. --- src/Arduboy2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Arduboy2.h b/src/Arduboy2.h index b12a50c..ec9adf3 100644 --- a/src/Arduboy2.h +++ b/src/Arduboy2.h @@ -580,7 +580,7 @@ class Arduboy2Base : public Arduboy2Core * * \param color The fill color (optional; defaults to WHITE). */ - void fillScreen(uint8_t color = WHITE); + void fillScreen(uint8_t color = WHITE) __attribute__ ((noinline)); /** \brief * Draw a rectangle with rounded corners.