altos: Fixes for GCC 10 (-fno-common is default)
authorKeith Packard <keithp@keithp.com>
Wed, 21 Jul 2021 21:26:35 +0000 (14:26 -0700)
committerKeith Packard <keithp@keithp.com>
Wed, 21 Jul 2021 21:28:14 +0000 (14:28 -0700)
A couple of duplicate global definitions which GCC 10 flags

Signed-off-by: Keith Packard <keithp@keithp.com>
src/lpc/lpc.h
src/micropeak-v2.0/ao_micro.c

index 82f456522c2c0482c8fb62e44a3f4227b2fb1ebc..1cf35dad2e6846fc35d7cfa45846c4b475d7de88 100644 (file)
@@ -868,7 +868,7 @@ struct lpc_usb {
        vuint32_t       introuting;
        uint32_t        r30;
        vuint32_t       eptoggle;
-} lpc_usb;
+};
 
 extern struct lpc_usb lpc_usb;
 #define lpc_usb (*(struct lpc_usb *) 0x40080000)
index 5a21d6582a0e0fd24b1f75d07c2329a4d2059433..efab12c315dd5f1cbbd9bfa8e605fc02d3c454bf 100644 (file)
@@ -23,7 +23,6 @@
 #include <ao_report_micro.h>
 #include <ao_log_micro.h>
 
-uint32_t       pa;
 alt_t          ground_alt, max_alt;
 alt_t          ao_max_height;