aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/command.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command.h b/src/command.h
index c6d8a69c..180031e5 100644
--- a/src/command.h
+++ b/src/command.h
@@ -73,7 +73,7 @@ extern const uint32_t command_identify_size;
#define _DECL_REQUEST_ID(REQUEST, ID_SECTION) ({ \
static char __PASTE(_DECLS_, __LINE__)[] \
__section(".compile_time_request") = REQUEST; \
- asm volatile("" : : "m"(__PASTE(_DECLS_, __LINE__))); \
+ asm volatile("" : : "i"(__PASTE(_DECLS_, __LINE__))); \
static char __PASTE(_DECLI_, __LINE__) \
__section(".compile_time_request." ID_SECTION); \
(size_t)&__PASTE(_DECLI_, __LINE__); })