Add serial support over webusb (#975)
* Add serial support over webusb * Disable DAPLink serial on older firmware * Disable sendMany - doesn't work with hidbridge at the moment
This commit is contained in:
2
external/dapjs.js
vendored
2
external/dapjs.js
vendored
@ -2397,7 +2397,7 @@ var CMSISDAP = (function () {
|
||||
case 6 /* DAP_TRANSFER_BLOCK */:
|
||||
break;
|
||||
default:
|
||||
if (buf[1] !== 0) {
|
||||
if (op < 0x80 && buf[1] !== 0) {
|
||||
throw new Error("Bad status for " + op + " -> " + buf[1]);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user