Make the firmware updater scripts take module slot parameters instead of I2C addresses. Rename scripts from *slave* to *module*.
This commit is contained in:
@@ -35,7 +35,7 @@ function getBlhostCmd(pid) {
|
||||
break;
|
||||
}
|
||||
|
||||
return `${__dirname}/blhost/${blhostPath} --usb 0x1d50,${pid}`;
|
||||
return `${__dirname}/blhost/${blhostPath} --usb 0x1d50,0x${pid.toString(16)}`;
|
||||
}
|
||||
|
||||
function execRetry(command) {
|
||||
|
||||
Reference in New Issue
Block a user