raphnet / gcn64tools

Raphnet USB adapter management tools
http://www.raphnet.net/programmation/gcn64tools/index_en.php
GNU General Public License v3.0
36 stars 12 forks source link

included unistd.h for usleep #2

Closed nullgemm closed 6 years ago

nullgemm commented 6 years ago

Hi, I recently bought a GC to USB v3 and started tinkering yesterday. I compiled this for Arch and noticed any attempt to update the firmware through the gui failed. This fixes the issue (unistd.h is not included in pcelib.c, so the usleep function you use does nothing). I hope this helps :)