[refactor][examples] add case success message

This commit is contained in:
jzlv 2021-07-01 19:31:37 +08:00
parent 72e16855d6
commit d0b959f99d
62 changed files with 643433 additions and 376 deletions

View file

@ -52,10 +52,10 @@ int main(void)
if (i2c_transfer(i2c0, &msg[0], 2) == 0) {
MSG("\r\n read:%0x\r\n", msg[1].buf[0] << 8 | msg[1].buf[1]);
MSG("\r\n i2c case success\r\n");
BL_CASE_SUCCESS;
} else
MSG("\r\n i2c case failed\r\n");
BL_CASE_FAIL;
while (1) {
__asm volatile("nop");
bflb_platform_delay_ms(100);
}
}