Renamed functions for USB open/read/write/close operations
Removed unused code and compiler warnings