From 3c66b2bc69a2835f699867484245793f004db703 Mon Sep 17 00:00:00 2001 From: Phil Howard Date: Mon, 5 Apr 2021 11:05:33 +0100 Subject: [PATCH] Fix use of private variable in round LCD demo Fixes #116 --- examples/breakout_roundlcd/demo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/breakout_roundlcd/demo.cpp b/examples/breakout_roundlcd/demo.cpp index 63b17203..df958a97 100644 --- a/examples/breakout_roundlcd/demo.cpp +++ b/examples/breakout_roundlcd/demo.cpp @@ -46,7 +46,7 @@ int main() { while(1) { absolute_time_t at = get_absolute_time(); - uint64_t t = at._private_us_since_boot / 100000; + uint64_t t = to_us_since_boot(at) / 100000; float angle = (t % 360) * M_PI / 180.0f; display.set_pen(0, 0, 0);