summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/periph_instances.h.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/periph_instances.h.j2 b/templates/periph_instances.h.j2
index d4b682f..05c59df 100644
--- a/templates/periph_instances.h.j2
+++ b/templates/periph_instances.h.j2
@@ -3,7 +3,7 @@
{% for header in headers %}#include "{{ header }}"{% endfor %}
{% for instance in instances %}
-static {{ instance.type }} {{ instance.name }}{
+constexpr {{ instance.type }} {{ instance.name }}{
{% for arg in instance.args %}
{{ arg | hex }},
{% endfor %}