From 30ac50ef472cc72488a0e97e373260d3dabb2c67 Mon Sep 17 00:00:00 2001 From: zhaohe Date: Mon, 13 May 2024 00:11:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9ID=E5=81=8F=E7=A7=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- usrc/base/device_info.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usrc/base/device_info.cpp b/usrc/base/device_info.cpp index 09a1711..c4722eb 100644 --- a/usrc/base/device_info.cpp +++ b/usrc/base/device_info.cpp @@ -12,7 +12,7 @@ uint16_t deviceInfo_init() { return 0; } uint16_t deviceInfo_getBoardId() { - int32_t off = id_from_machine.read() ? 1 : 0; + int32_t off = id_from_machine.read() ? 1 : 2; return DEVICE_ID_START + off; } uint16_t deviceInfo_getProjectId() { return PROJECT_ID; }