Closed kjaget closed 6 years ago
Function signature is
static int decodeDataSetResponse( char *buffer, int length, AHRS_DATA_TYPE type, AHRS_TUNING_VAR_ID subtype, uint8_t& status )
Type and subtype are set in the function but since the param types aren't references the values aren't actually returned.
Not sure if this code is used anywhere but since it came up as a warning I figured I'd mention it.
That doesn't look like WPIlib code. NavX code perhaps?
You are correct. Sorry for the false alarm. I'm off to figure out why the students dropped it into the wpilib tree instead of where it belongs...
Function signature is
static int decodeDataSetResponse( char *buffer, int length, AHRS_DATA_TYPE type, AHRS_TUNING_VAR_ID subtype, uint8_t& status )
Type and subtype are set in the function but since the param types aren't references the values aren't actually returned.
Not sure if this code is used anywhere but since it came up as a warning I figured I'd mention it.