Changeset 343 for trunk/core/main.c
- Timestamp:
- 03/24/08 08:37:45 (5 years ago)
- File:
-
- 1 edited
-
trunk/core/main.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/core/main.c
r295 r343 8 8 #include "raw.h" 9 9 #include "motion_detector.h" 10 10 11 11 12 static int raw_need_postprocess; … … 42 43 fd = open(fn, O_WRONLY|O_CREAT, 0777); 43 44 if (fd) { 45 #ifdef CAMERA_ixus65_sd630 // Zero is not readable on ixus65! 46 write(fd, (int*)0xFFFF0000, 4); 47 write(fd, (int*)4, 0x1900-4); 48 #else 44 49 write(fd, (void*)0, 0x1900); 50 #endif 45 51 write(fd, (void*)0x1900, 32*1024*1024-0x1900); 46 52 close(fd); … … 81 87 md_init(); 82 88 89 #if CAM_CONSOLE_LOG_ENABLED 90 console_init(); 91 #endif 92 83 93 mkdir("A/CHDK"); 84 94 mkdir("A/CHDK/FONTS");
Note: See TracChangeset
for help on using the changeset viewer.