Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Crocker <dcrocker@eschertech.com>2021-04-02 13:46:24 +0300
committerDavid Crocker <dcrocker@eschertech.com>2021-04-02 13:46:24 +0300
commit52afd5e7f34200a7ae9d3d9b56e95acc5300c6d0 (patch)
treed57d39053510c8ea26e23b4e3bc1c5cabbf70141 /src/Libraries
parenta38e510ce9bd34bce7fab6923297cb11b0e161a7 (diff)
Use new interrupt enable/disable functions in CoreN2G
Diffstat (limited to 'src/Libraries')
-rw-r--r--src/Libraries/sd_mmc/sd_mmc_spi.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Libraries/sd_mmc/sd_mmc_spi.h b/src/Libraries/sd_mmc/sd_mmc_spi.h
index b1b70f10..164bc625 100644
--- a/src/Libraries/sd_mmc/sd_mmc_spi.h
+++ b/src/Libraries/sd_mmc/sd_mmc_spi.h
@@ -50,6 +50,10 @@
#include <Core.h>
#include "sd_mmc_protocol.h"
+#ifndef UNUSED
+# define UNUSED(_x) (void)(_x)
+#endif
+
#ifdef __cplusplus
extern "C" {
#endif