Nest some more namespaces
Did someone previously suggest that all namespace had been
nested? Silly.
Signed-off-by: Stephan Pleines <pleines.stephan@gmail.com>
Change-Id: I22278c1caaeba8b47dc46fb2ed3078c20a11e190
diff --git a/motors/peripheral/spi.h b/motors/peripheral/spi.h
index f865703..c5a1b64 100644
--- a/motors/peripheral/spi.h
+++ b/motors/peripheral/spi.h
@@ -7,8 +7,7 @@
#include "motors/peripheral/uart_buffer.h"
#include "motors/util.h"
-namespace frc971 {
-namespace teensy {
+namespace frc971::teensy {
// Simple synchronous interface to a SPI peripheral.
class Spi {
@@ -112,7 +111,6 @@
int frames_to_receive_ = 0;
};
-} // namespace teensy
-} // namespace frc971
+} // namespace frc971::teensy
#endif // MOTORS_PERIPHERAL_SPI_H_