scan correct I2C bus
This commit is contained in:
parent
77701636b5
commit
ab5e54a9dd
1 changed files with 1 additions and 1 deletions
|
|
@ -106,7 +106,7 @@ void handle_usbfs_input(int numbytes, uint8_t *data)
|
|||
break;
|
||||
case 's':
|
||||
printf("Scanning I2C bus...\n");
|
||||
i2c_scan(I2C1, print_i2c_device);
|
||||
i2c_scan(I2C_TARGET, print_i2c_device);
|
||||
break;
|
||||
default:
|
||||
printf("Unknown command '%c'\n", data[0]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue