Last active
August 29, 2015 14:10
-
-
Save ksksue/d2732e8595b807df491f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static uint8_t pstorage_wait_flag = 0; | |
static pstorage_block_t pstorage_wait_handle = 0; | |
static void flash_cb_handler(pstorage_handle_t *handle, | |
uint8_t op_code, | |
uint32_t result, | |
uint8_t *p_data, | |
uint32_t data_len) | |
{ | |
if(handle->block_id == pstorage_wait_handle) { pstorage_wait_flag = 0; } | |
APP_ERROR_CHECK(result); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment