diff options
author | Pali Rohár <pali.rohar@gmail.com> | 2016-12-23 10:13:42 +0100 |
---|---|---|
committer | Pali Rohár <pali.rohar@gmail.com> | 2016-12-23 10:13:42 +0100 |
commit | f7bad18a565515421329931acf2669c5e75a1fde (patch) | |
tree | 0e2a350a11a12e00e73c01c3b1e2dad4ff3b32a6 | |
parent | 82de19bee10d24737eca3b3ada1dd5863f492442 (diff) | |
download | 0xFFFF-f7bad18a565515421329931acf2669c5e75a1fde.tar.bz2 |
disk: Fix for RM-680
-rw-r--r-- | src/disk.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -369,8 +369,8 @@ int disk_init(struct usb_device_info * dev) { /* TODO: change 1 to 0 when disk_flash_dev will be implemented */ - /* RX-51 exports MyDocs in first usb device and just first partion, so host system see whole device without MBR table */ - if ( dev->device == DEVICE_RX_51 ) + /* RX-51 and RM-680 export MyDocs in first usb device and just first partion, so host system see whole device without MBR table */ + if ( dev->device == DEVICE_RX_51 || dev->device == DEVICE_RM_680 ) fd = disk_open_dev(maj1, min1, -1, 1); /* Other devices can export SD card as first partition and export whole mmc device, so host system will see MBR table */ else if ( maj2 != -1 && min2 != -1 ) |