sdfat - correct logic of datalog

Pert you are right

return 1 for success and 0 for failure.

I thought that this was referred to getwriteerror() but as you said is referred to write()
I would need to find that function but right now i am from my mobile phone and it is not easy

About that error list, i saw it but i think it is quite uncompleted, maybe he didn t implement it yet... Idk... :frowning: