From d6a2a42b7a68d7e73d01f020243c3bfb561cfd4e Mon Sep 17 00:00:00 2001 From: Hideaki Tai Date: Fri, 11 Oct 2019 21:16:58 +0900 Subject: [PATCH] constexpr --- Artnet.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Artnet.h b/Artnet.h index 49294ff..26d4345 100644 --- a/Artnet.h +++ b/Artnet.h @@ -100,7 +100,7 @@ namespace arduino constexpr float DEFAULT_FPS { 40. }; constexpr uint32_t DEFAULT_INTERVAL_MS { (uint32_t)(1000. / DEFAULT_FPS) }; - static const uint8_t NUM_PIXELS_PER_UNIV { 170 }; + static constexpr uint8_t NUM_PIXELS_PER_UNIV { 170 }; #ifdef __AVR__ template