• Jeffrey Lee's avatar
    Fix hang on boot · 07e72b27
    Jeffrey Lee authored
    Detail:
      c/cmodule - Add a re-entrancy check to USB driver initialisation; due to recent kernel changes we're now getting the "USBDriver has started" service call during the middle of our call to USBDriver_Register (called from our own initialisation callback). Without the re-entrancy check the system was getting confused and sending a duff transfer request to DWCDriver, resulting in a hang somewhere in the driver logic.
    Admin:
      Tested on Raspberry Pi
      Machine no longer stops after "mod init done" is displayed
    
    
    Version 0.10. Tagged as 'DWCDriver-0_10'
    07e72b27
cmodule 13.1 KB