depthai-core v2.27.0 isUserBootloader() fails to check conditions correctly.
I think the code needs to check what is flashed...not what is currently running since it could be running from an esoteric/embedded blob. Should also check that it is a NETWORK sensor not usb, so calling isUserBootloaderSupported() fits well.
depthai-core v2.27.0
isUserBootloader()
fails to check conditions correctly.I think the code needs to check what is flashed...not what is currently running since it could be running from an esoteric/embedded blob. Should also check that it is a NETWORK sensor not usb, so calling
isUserBootloaderSupported()
fits well.https://github.com/luxonis/depthai-core/blob/729e478108f40d117ef7876b1360596f35645ddf/src/device/DeviceBootloader.cpp#L729-L733
I think that block should instead be