summaryrefslogtreecommitdiffstats
path: root/src/configuration.hpp
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-03-08 22:59:04 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2017-03-16 17:10:39 +0100
commit1ed2a620b5ac6272de01be7f1830715f7f0d280d (patch)
tree472082877c9bcb227963bb06b929fa2c827686b0 /src/configuration.hpp
parentfd56d95d7f9794aafdbe8afae1dc212b232ae83b (diff)
Move "config" variable as global.
Change-Id: I1760dce5ef5836c9392837f4a196382ee88dabd8 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh> Conflicts: src/configuration.hpp
Diffstat (limited to 'src/configuration.hpp')
-rw-r--r--src/configuration.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/configuration.hpp b/src/configuration.hpp
index 823d8864..77f452ff 100644
--- a/src/configuration.hpp
+++ b/src/configuration.hpp
@@ -101,3 +101,7 @@ class configuration_t
bool isBusActive(can_bus_dev_t* bus);
*/
};
+
+// Make a global variable pointer
+extern configuration_t *config;
+