Hello. My CPU is LPC1788. I have code like this:
void TestFunc(void) { if(finit ("U0:") == 0) { while(1) { usbh_engine_all(); if(usbh_msc_status(0, 0)) { . . . } if(Exit) break; } funinit("U0:") } }
First calling of TestFunc() works OK. But when I call it second time, it hangs on finit function. Documentation allows calling finit after funinit. What I'm doing wrong?
t.
Can any one send me a working template , I'm stuck at this point of my project , thanks in advance