summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPali Rohár <pali.rohar@gmail.com>2016-12-23 10:13:42 +0100
committerPali Rohár <pali.rohar@gmail.com>2016-12-23 10:13:42 +0100
commitf7bad18a565515421329931acf2669c5e75a1fde (patch)
tree0e2a350a11a12e00e73c01c3b1e2dad4ff3b32a6
parent82de19bee10d24737eca3b3ada1dd5863f492442 (diff)
download0xFFFF-f7bad18a565515421329931acf2669c5e75a1fde.tar.bz2
disk: Fix for RM-680
-rw-r--r--src/disk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/disk.c b/src/disk.c
index 63f7a52..6bdd974 100644
--- a/src/disk.c
+++ b/src/disk.c
@@ -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 )