fix osc_add_flash_error_message
Merge pull request #1352 from emanwebdev/patch-13

fix osc_add_flash_error_message