Commit ee988b7d authored by Xoaquin Castrelo's avatar Xoaquin Castrelo
Browse files

Modified main.cpp to enable the display buttons.

parent a0e84966
...@@ -4,16 +4,21 @@ ...@@ -4,16 +4,21 @@
#include "command.h" #include "command.h"
#include "state-controller.hpp" #include "state-controller.hpp"
#include "time.hpp" #include "time.hpp"
#include "display.hpp"
#include "buttons.hpp"
int main() int main()
{ {
initTime(); initTime();
initServos(); initServos();
initDisplay();
initUart(); initUart();
initButtons();
while (1) while (1)
{ {
updateState(); updateState();
updateButtons();
} }
} }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment