From f4b934a78af8066f2e71cfae7c20058078d0fd57 Mon Sep 17 00:00:00 2001 From: Oskar Weigl Date: Wed, 8 Nov 2017 21:15:14 -0800 Subject: [PATCH] change info dump command to 'i' --- Firmware/MotorControl/commands.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Firmware/MotorControl/commands.c b/Firmware/MotorControl/commands.c index b3d5e4e0..6978a091 100644 --- a/Firmware/MotorControl/commands.c +++ b/Firmware/MotorControl/commands.c @@ -169,7 +169,7 @@ void motor_parse_cmd(uint8_t* buffer, int len, SerialPrintf_t response_interface if (numscan == 2 && motor_number < num_motors) { set_current_setpoint(&motors[motor_number], current_feed_forward); } - } else if(buffer[0] == 'e'){ // Generic ECHO command for testing + } else if(buffer[0] == 'i'){ // Dump device info // Retrieves the device signature, revision, flash size, and UUID printf("Signature: %#x\n", STM_ID_GetSignature()); printf("Revision: %#x\n", STM_ID_GetRevision()); @@ -381,4 +381,4 @@ void usb_update_thread() { } } vTaskDelete(osThreadGetId()); -} \ No newline at end of file +}