fix osc_add_flash_error_message
Merge pull request #1351 from emanwebdev/patch-12

fix osc_add_flash_error_message