Fix Flash_UniqueID

This commit is contained in:
Philippe Teuwen committed 2026-08-19 15:51:54 +02:00
1 parent 6863314019
commit 5518e6af77
1 file changed
+3 -1
+3 -1
View File
@@ -336,7 +336,9 @@ bool FlashSetup(uint32_t baudrate) {
// read unique id for chip.
bool Flash_UniqueID(uint8_t *uid) {
if (Flash_CheckBusy(BUSY_TIMEOUT)) false;
if (Flash_CheckBusy(BUSY_TIMEOUT)) {
return false;
}
// reading unique serial number
FlashSendByte(UNIQUE_ID);