mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 06:34:35 +00:00
Fixed typo
This commit is contained in:
parent
ed2cdceb66
commit
33a74c7548
1 changed files with 1 additions and 1 deletions
|
|
@ -404,7 +404,7 @@ static bool HIDAPI_DriverSwitch2_InitUSB(SDL_HIDAPI_Device *device)
|
|||
} else {
|
||||
res = RecvBulkData(ctx, calibration_data, sizeof(calibration_data));
|
||||
if (res < 0) {
|
||||
SDL_LogWarn(SDL_LOG_CATEGORY_INPUT, "Couldn't request user calibration data: %d", res);
|
||||
SDL_LogWarn(SDL_LOG_CATEGORY_INPUT, "Couldn't read user calibration data: %d", res);
|
||||
} else if (calibration_data[0x10] == 0xb2 && calibration_data[0x11] == 0xa1) {
|
||||
ParseStickCalibration(&ctx->left_stick, &calibration_data[0x12]);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue