summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus
diff options
context:
space:
mode:
author Robbbert <Robbbert@users.noreply.github.com>2021-09-08 13:01:00 +1000
committer Robbbert <Robbbert@users.noreply.github.com>2021-09-08 13:01:00 +1000
commit0086f320870da5ef961328399cedbf9566d0cbeb (patch)
treec68cd8dd9a6de9ecb92f11381577e2fd78fe61db /src/devices/bus
parent972d324eb2463a8628a6a20234c66af520dd0b88 (diff)
a2sd: warning: 'unused' attribute directive ignored [-Wattributes]
Diffstat (limited to 'src/devices/bus')
-rw-r--r--src/devices/bus/a2bus/a2sd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/bus/a2bus/a2sd.cpp b/src/devices/bus/a2bus/a2sd.cpp
index c5c9937caaf..7a5208e473f 100644
--- a/src/devices/bus/a2bus/a2sd.cpp
+++ b/src/devices/bus/a2bus/a2sd.cpp
@@ -36,7 +36,7 @@
static constexpr u8 C0N1_ECE = 0x04; // external clock: toggles between 500 kHz internal clock and 1/2 of the 7M A2 bus clock
static constexpr u8 C0N1_FRX = 0x10; // fast recieve: when enabled, both reads and writes of the SPI data register start a shift cycle
-[[unused]] static constexpr u8 C0N1_BSY = 0x20;
+[[maybe_unused]] static constexpr u8 C0N1_BSY = 0x20;
static constexpr u8 C0N1_TC = 0x80; // SPI transfer complete
static constexpr u8 C0N3_CD = 0x40; // card detect