mirror of
https://github.com/google/pebble.git
synced 2025-04-24 05:27:07 -04:00
spelling: whoami
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
fed3c7b83f
commit
be5dc944b3
3 changed files with 3 additions and 3 deletions
|
@ -327,7 +327,7 @@ static bool prv_is_alive(void) {
|
|||
return true;
|
||||
} else {
|
||||
PBL_LOG(LOG_LEVEL_DEBUG,
|
||||
"Error: read max14690 whomai byte 0x%x, expecting 0x%x", val, 0x01);
|
||||
"Error: read max14690 whoami byte 0x%x, expecting 0x%x", val, 0x01);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -340,7 +340,7 @@ void lis3dh_exit_self_test_mode(void) {
|
|||
//! factory. Useful as a sanity check to make sure everything came up properly.
|
||||
bool lis3dh_sanity_check(void) {
|
||||
uint8_t whoami = prv_read_reg(LIS3DH_WHO_AM_I);
|
||||
PBL_LOG(LOG_LEVEL_DEBUG, "Read accel whomai byte 0x%x, expecting 0x%x", whoami, LIS3DH_WHOAMI_BYTE);
|
||||
PBL_LOG(LOG_LEVEL_DEBUG, "Read accel whoami byte 0x%x, expecting 0x%x", whoami, LIS3DH_WHOAMI_BYTE);
|
||||
return (whoami == LIS3DH_WHOAMI_BYTE);
|
||||
}
|
||||
|
||||
|
|
|
@ -519,7 +519,7 @@ static bool prv_is_alive(void) {
|
|||
return true;
|
||||
} else {
|
||||
PBL_LOG(LOG_LEVEL_DEBUG,
|
||||
"Error: read max14690 whomai byte 0x%x, expecting 0x%x", val, 0x01);
|
||||
"Error: read max14690 whoami byte 0x%x, expecting 0x%x", val, 0x01);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue