diff options
author | Vegard Storheil Eriksen <zyp@jvnv.net> | 2021-01-21 21:52:34 +0100 |
---|---|---|
committer | Vegard Storheil Eriksen <zyp@jvnv.net> | 2021-01-21 23:07:42 +0100 |
commit | 9741ea9c219364bc1aaf897a16b8c3a295c2cc10 (patch) | |
tree | bbeb0d39bd4040e8273843f1b0d59e46cc01f4ed /templates | |
parent | 94d1f1a772c6655398e9773c0851330ead4ff49c (diff) |
templates/periph_instances: Make instances constexpr.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/periph_instances.h.j2 | 2 |
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 %} |