Merge "name the joystick-reading thread"
diff --git a/frc971/wpilib/joystick_sender.cc b/frc971/wpilib/joystick_sender.cc
index d2a687b..364929a 100644
--- a/frc971/wpilib/joystick_sender.cc
+++ b/frc971/wpilib/joystick_sender.cc
@@ -12,9 +12,11 @@
void JoystickSender::operator()() {
DriverStation *ds = DriverStation::GetInstance();
- ::aos::SetCurrentThreadRealtimePriority(29);
+ ::aos::SetCurrentThreadName("DSReader");
uint16_t team_id = ::aos::network::GetTeamNumber();
+ ::aos::SetCurrentThreadRealtimePriority(29);
+
while (run_) {
ds->WaitForData();
auto new_state = ::aos::robot_state.MakeMessage();