Hi all,
my application is based on MQX 4.2 and checks for a file at every boot up. However, the calling task will marked with "Task Error: ... Error Code: MFS: File not found (0x3002)..." if it not exists. This is the normal use case for my app.
I was wondering, how can I remove this error. In the API doc I have not found any function for this.
Regards.
已解决! 转到解答。
Hi Bilz
Did you considered to use _task_set_error(MQX_OK) directly after the fopen error happened?
Regards,
Stefan
Hi Bilz,
you may identify the function in your application that is returning this error and handle the error on you own convenience. You will not be able to avoid the error. E.g.
uint32_t error:
error = function();
if (error == 0x3002)
{
//handle error
}
Regards,
Carlos