o added 0x01 to the list of file flags. a directory listing was not
showing any files if those files were 'protected' by the camera git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1608 67ed7778-7388-44ab-90cf-0a291f65f57c
This commit is contained in:
@@ -271,7 +271,9 @@ int camera_file_list (Camera *camera, CameraList *list, char *folder)
|
||||
|
||||
while(i < data_len) {
|
||||
/* files have 0x00,0x20, dirs have 0x10,0x30 */
|
||||
if(ptr_data_buff[11] != 0x00 && ptr_data_buff[11] != 0x20) {
|
||||
if(ptr_data_buff[11] != 0x00 &&
|
||||
ptr_data_buff[11] != 0x20 &&
|
||||
ptr_data_buff[11] != 0x01) {
|
||||
ptr_data_buff += 20;
|
||||
i += 20;
|
||||
continue;
|
||||
|
||||
@@ -23,9 +23,9 @@
|
||||
#include "dc3200.h"
|
||||
#include "library.h"
|
||||
|
||||
/*
|
||||
#define DEBUG
|
||||
*/
|
||||
|
||||
//#define DEBUG
|
||||
|
||||
/*
|
||||
* dc3200_set_speed
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user