Browse Source

修改ID偏移

master
zhaohe 1 year ago
parent
commit
30ac50ef47
  1. 2
      usrc/base/device_info.cpp

2
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; }

Loading…
Cancel
Save