From f4d56d913ab8446d9222e0eff3c90a7236ec851c Mon Sep 17 00:00:00 2001 From: BelmiroRodrigues Date: Tue, 10 Dec 2024 18:12:42 +0000 Subject: [PATCH] chore: Remove commented out code in SpeedSensor.cpp --- middleware/src/SpeedSensor.cpp => SpeedSensor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename middleware/src/SpeedSensor.cpp => SpeedSensor.cpp (99%) diff --git a/middleware/src/SpeedSensor.cpp b/SpeedSensor.cpp similarity index 99% rename from middleware/src/SpeedSensor.cpp rename to SpeedSensor.cpp index 8582266..95fa6e4 100644 --- a/middleware/src/SpeedSensor.cpp +++ b/SpeedSensor.cpp @@ -23,7 +23,7 @@ double calcularVelocidade(int pulsos, double tempoSegundos) { return velocidade_kmh; } -int main() { +/* int main() { try { // Abre o chip GPIO gpiod_chip* chip = gpiod_chip_open("/dev/gpiochip0"); @@ -95,4 +95,4 @@ int main() { std::cout << "Encerrando programa..." << std::endl; return 0; -} +} */