Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Ralim committed Jun 16, 2022
1 parent e003eba commit 21f6960
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/Core/BSP/MHP30/BSP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -473,5 +473,5 @@ void setStatusLED(const enum StatusLED state) {
}
uint64_t getDeviceID() {
//
return HAL_GetUIDw0() || ((uint64_t)HAL_GetUIDw1() << 32);
return HAL_GetUIDw0() | ((uint64_t)HAL_GetUIDw1() << 32);
}
2 changes: 1 addition & 1 deletion source/Core/BSP/Miniware/BSP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -286,5 +286,5 @@ void setStatusLED(const enum StatusLED state) {}
uint8_t preStartChecks() { return 0; }
uint64_t getDeviceID() {
//
return HAL_GetUIDw0() || ((uint64_t)HAL_GetUIDw1() << 32);
return HAL_GetUIDw0() | ((uint64_t)HAL_GetUIDw1() << 32);
}

0 comments on commit 21f6960

Please sign in to comment.