diff options
Diffstat (limited to 'board/cr50/factory_mode.c')
-rw-r--r-- | board/cr50/factory_mode.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/board/cr50/factory_mode.c b/board/cr50/factory_mode.c index 6e07fe00f5..a645fd5aed 100644 --- a/board/cr50/factory_mode.c +++ b/board/cr50/factory_mode.c @@ -25,8 +25,7 @@ static int board_id_is_erased(void) return 0; } - /* If all of the fields are all 0xffffffff, the board id is not set */ - if (~(id.type & id.type_inv & id.flags) == 0) { + if (board_id_is_blank(&id)) { CPRINTS("BID erased"); return 1; } |