We want the `Keyboardio` object to be a singleton. If it is static, then each library that gets compiled separately, and uses it in one way or the other, will have a copy of it. Making it extern, we'll only have one copy, as it should be. I don't think there were any bugs caused by it being static, but it was certainly a tiny bit of wasted code and memory. Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>pull/78/head
parent
b32bb2e44b
commit
2667b8a074
Loading…
Reference in new issue