From 8d8d968cf729ccb31edf9527787a62e138d2c7ca Mon Sep 17 00:00:00 2001 From: shakemid Date: Fri, 15 Sep 2017 17:16:04 +0900 Subject: [PATCH] Fix comment --- pcsensor.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pcsensor.c b/pcsensor.c index 2da599d..9999e1b 100644 --- a/pcsensor.c +++ b/pcsensor.c @@ -395,17 +395,17 @@ int main(int argc, char **argv) { answer = calloc(reqIntLen, sizeof(unsigned char)); /* This looks unnecessary for (i = 0; i < numdev; i++) { - ini_control_transfer(handles[i]); + ini_control_transfer(devices[i].handle); - control_transfer(handles[i], uTemperature); - interrupt_read(handles[i], answer); + control_transfer(devices[i].handle, uTemperature); + interrupt_read(devices[i].handle, answer); - control_transfer(handles[i], uIni1); - interrupt_read(handles[i], answer); + control_transfer(devices[i].handle, uIni1); + interrupt_read(devices[i].handle, answer); - control_transfer(handles[i], uIni2); - interrupt_read(handles[i], answer); - interrupt_read(handles[i], answer); + control_transfer(devices[i].handle, uIni2); + interrupt_read(devices[i].handle, answer); + interrupt_read(devices[i].handle, answer); } */