From cd1484d2fe36388e8f67a25fb777b5a8dbd4664c Mon Sep 17 00:00:00 2001 From: Alexander Bobkov Date: Sat, 28 Dec 2024 22:45:32 -0500 Subject: [PATCH] ESP-IDF Robot Controls --- ESP-IDF_Robot/main/controls.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ESP-IDF_Robot/main/controls.h b/ESP-IDF_Robot/main/controls.h index da313ff02..963c00aa7 100644 --- a/ESP-IDF_Robot/main/controls.h +++ b/ESP-IDF_Robot/main/controls.h @@ -14,7 +14,7 @@ Struct that holds PCM for RPMs for each of 4 motors. Positive PCM values for clock-wise rotation, and negative values for counter-vise rotation. */ -typedef struct motors_rpm { +struct motors_rpm { int motor1_rpm_pcm; int motor1_gpio; int motor2_rpm_pcm; @@ -23,7 +23,7 @@ typedef struct motors_rpm { int motor3_gpio; int motor4_rpm_pcm; int motor4_gpio; -} Motors; +}; extern Motors *motors;