aboutsummaryrefslogtreecommitdiffstats
path: root/src/sched.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sched.h')
-rw-r--r--src/sched.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sched.h b/src/sched.h
index bdef5e4c..9685317f 100644
--- a/src/sched.h
+++ b/src/sched.h
@@ -42,7 +42,7 @@ struct callback_handler {
};
#define _DECL_CALLBACK(NAME, FUNC) \
const struct callback_handler _DECL_ ## NAME ## _ ## FUNC __visible \
- __section(".progmem.data." __stringify(NAME) ) = { .func = FUNC }
+ __section(".rodata." __stringify(NAME) ) = { .func = FUNC }
#define foreachdecl(ITER, NAME) \
extern typeof(*ITER) NAME ## _start[], NAME ## _end[]; \