Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void write_to_flash (void) {
- BYTE i;
- iap_copy_to_flash((uint8_t *)display_address, OFFSET_ADDRESS, 1); //warning here
- delay_1_ms();
- iap_copy_to_flash((uint8_t *)version, OFFSET_VERSION, 1); //warning here
- delay_1_ms();
- for (i=0;i<8;i++) {
- iap_copy_to_flash((uint8_t *)serial_no[i], OFFSET_VERSION+i, 1); //warning here
- delay_1_ms();
- }
- }
- void iap_copy_to_flash (uint8_t* buff, uint32_t flash_addr, uint32_t num_bytes)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement