removed warnings, exported flash_block/4