added the bottom sensor too
diff --git a/gyro_board/src/usb/analog.c b/gyro_board/src/usb/analog.c
index c9d6752..ccd8854 100644
--- a/gyro_board/src/usb/analog.c
+++ b/gyro_board/src/usb/analog.c
@@ -522,6 +522,7 @@
packet->bottom_disc = !digital(1);
packet->loader_top = !digital(5);
+ packet->loader_bottom = !digital(6);
packet->capture_shooter_angle_rise = capture_shooter_angle_rise;
packet->shooter_angle_rise_count = shooter_angle_rise_count;
diff --git a/gyro_board/src/usb/analog.h b/gyro_board/src/usb/analog.h
index 8dc0963..8763181 100644
--- a/gyro_board/src/usb/analog.h
+++ b/gyro_board/src/usb/analog.h
@@ -39,6 +39,7 @@
uint8_t top_disc : 1;
uint8_t bottom_disc : 1;
uint8_t loader_top : 1;
+ uint8_t loader_bottom : 1;
};
uint32_t digitals;
};