mirror of
https://github.com/shakemid/pcsensor-temper.git
synced 2025-01-21 09:08:17 +01:00
Fix comment
This commit is contained in:
parent
594782b648
commit
8d8d968cf7
1 changed files with 8 additions and 8 deletions
16
pcsensor.c
16
pcsensor.c
|
@ -395,17 +395,17 @@ int main(int argc, char **argv) {
|
||||||
answer = calloc(reqIntLen, sizeof(unsigned char));
|
answer = calloc(reqIntLen, sizeof(unsigned char));
|
||||||
/* This looks unnecessary
|
/* This looks unnecessary
|
||||||
for (i = 0; i < numdev; i++) {
|
for (i = 0; i < numdev; i++) {
|
||||||
ini_control_transfer(handles[i]);
|
ini_control_transfer(devices[i].handle);
|
||||||
|
|
||||||
control_transfer(handles[i], uTemperature);
|
control_transfer(devices[i].handle, uTemperature);
|
||||||
interrupt_read(handles[i], answer);
|
interrupt_read(devices[i].handle, answer);
|
||||||
|
|
||||||
control_transfer(handles[i], uIni1);
|
control_transfer(devices[i].handle, uIni1);
|
||||||
interrupt_read(handles[i], answer);
|
interrupt_read(devices[i].handle, answer);
|
||||||
|
|
||||||
control_transfer(handles[i], uIni2);
|
control_transfer(devices[i].handle, uIni2);
|
||||||
interrupt_read(handles[i], answer);
|
interrupt_read(devices[i].handle, answer);
|
||||||
interrupt_read(handles[i], answer);
|
interrupt_read(devices[i].handle, answer);
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue