USBMSD.h header documentation needs updating

01 Apr 2013

The USB_MSD.h header file mentions

  • You have to inherit and define some pure virtual functions (mandatory step):
  • - virtual int disk_write(const char * data, int block): function to write a block
  • - virtual int disk_initialize(): function to initialize the memory

This is out of sync with the actual definitions in the header: virtual int disk_read(uint8_t * data, uint64_t block) virtual int disk_write(const uint8_t * data, uint64_t block)

(i.e., the block is now an uint64_t, no longer just an int.)

Best, m.