| 318 | } |
| 319 | |
| 320 | static void flash_exit_pb(uint32_t addr, uint8_t byte) { |
| 321 | if( mem.flash.command == FLASH_WAIT_PB_EXIT ) |
| 322 | { |
| 323 | mem.flash.command = FLASH_NO_COMMAND; |
| 324 | flash_reset_write_index(addr, byte); |
| 325 | } |
| 326 | } |
| 327 | |
| 328 | typedef const struct flash_write_pattern { |
| 329 | const int length; |
nothing calls this directly
no test coverage detected