From ee988b7d8ee2e24ffebf5ab30f8cb935c620ffac Mon Sep 17 00:00:00 2001
From: Xoaquin Castrelo <xoaquin.cb@gmail.com>
Date: Sun, 14 Nov 2021 11:25:15 +0000
Subject: [PATCH] Modified main.cpp to enable the display buttons.

---
 emb/main.cpp | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/emb/main.cpp b/emb/main.cpp
index 52198fb..ebc57b0 100644
--- a/emb/main.cpp
+++ b/emb/main.cpp
@@ -4,16 +4,21 @@
 #include "command.h"
 #include "state-controller.hpp"
 #include "time.hpp"
+#include "display.hpp"
+#include "buttons.hpp"
 
 int main()
 {
     initTime();
     initServos();
+    initDisplay();
     initUart();
+    initButtons();
     
     while (1)
     {
         updateState();
+        updateButtons();
     }
 }
 
-- 
GitLab