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
Did you considered to use _task_set_error(MQX_OK) directly after the fopen error happened?
Regards,
Stefan
Hi Stefan,
Yes this works. TY
Regards,
Falko
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