wjasper / Linux_Drivers

Open source Linux device drivers
GNU General Public License v3.0
110 stars 64 forks source link

corrected an error in writing to user memory space for 1608FS Plus li… #23

Closed jamesraylittle closed 5 years ago

jamesraylittle commented 5 years ago

Corrected a logic error in function usbWriteUserMemory_USB1608FS_Plus in the 1608FS-Plus library.

The documentation reads that user space is only 256 bytes of addressable memory, those addresses include 0x00-0xFF. The guard is off by one 255, and the error message was incorrect.

wjasper commented 5 years ago

Much thanks. merge accepted.