Type fixes to uart.h (take span)
Change-Id: Icde8dc0c8a7411f7ba876bd364a7911f993d0ec0
diff --git a/y2019/jevois/uart.h b/y2019/jevois/uart.h
index 8244fdb..87dcc97 100644
--- a/y2019/jevois/uart.h
+++ b/y2019/jevois/uart.h
@@ -29,11 +29,11 @@
aos::SizedArray<char, CobsMaxEncodedSize(uart_to_camera_size())>;
UartToTeensyBuffer UartPackToTeensy(const Frame &message);
-tl::optional<Frame> UartUnpackToTeensy(const UartToTeensyBuffer &buffer);
+tl::optional<Frame> UartUnpackToTeensy(gsl::span<const char> buffer);
UartToCameraBuffer UartPackToCamera(const CameraCalibration &message);
tl::optional<CameraCalibration> UartUnpackToCamera(
- const UartToCameraBuffer &buffer);
+ gsl::span<const char> buffer);
} // namespace jevois
} // namespace frc971