Code Review
/
apps
/
low-level-can-service.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Use static method now as they are all static. No need
[apps/low-level-can-service.git]
/
src
/
configuration.hpp
diff --git
a/src/configuration.hpp
b/src/configuration.hpp
index
5a76944
..
77f452f
100644
(file)
--- a/
src/configuration.hpp
+++ b/
src/configuration.hpp
@@
-55,7
+55,7
@@
class configuration_t
configuration_t& get_configuration() const;
configuration_t& get_configuration() const;
- can_bus_t& get_can_bus_manager()
const
;
+ can_bus_t& get_can_bus_manager();
diagnostic_manager_t& get_diagnostic_manager() const;
diagnostic_manager_t& get_diagnostic_manager() const;
@@
-101,3
+101,7
@@
class configuration_t
bool isBusActive(can_bus_dev_t* bus);
*/
};
bool isBusActive(can_bus_dev_t* bus);
*/
};
+
+// Make a global variable pointer
+extern configuration_t *config;
+