From 1d5e73c986d4f0de743539ad7aa68d027a19f267 Mon Sep 17 00:00:00 2001 From: rusEfi Date: Sat, 5 Mar 2016 00:02:00 -0500 Subject: [PATCH] auto-sync --- firmware/console/binary/tunerstudio.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/console/binary/tunerstudio.cpp b/firmware/console/binary/tunerstudio.cpp index 1e849cf87b..d1a0d19d34 100644 --- a/firmware/console/binary/tunerstudio.cpp +++ b/firmware/console/binary/tunerstudio.cpp @@ -755,7 +755,7 @@ int tunerStudioHandleCrcCommand(ts_channel_s *tsChannel, char *data, int incomin */ } else if (command == TS_IO_TEST_COMMAND) { int subsystem = data[3]; - int index = *(short*)data[0]; + int index = *(short*)&data[0]; scheduleMsg(&tsLogger, "IO test %d %d %d", incomingPacketSize, subsystem, index); testIoCommand();