mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-15 00:27:40 +00:00
implemented msd read
This commit is contained in:
10
firmware/baseband/sd_over_usb/diskio.h
Normal file
10
firmware/baseband/sd_over_usb/diskio.h
Normal file
@@ -0,0 +1,10 @@
|
||||
#ifndef __DISKIO_H__
|
||||
#define __DISKIO_H__
|
||||
|
||||
#include <stdint.h>
|
||||
#include <chtypes.h>
|
||||
|
||||
uint32_t get_capacity(void);
|
||||
bool_t read_block(uint32_t startblk, uint8_t *buf, uint32_t n);
|
||||
|
||||
#endif /* __DISKIO_H__ */
|
Reference in New Issue
Block a user