Changeset 604
- Timestamp:
- 11/29/08 23:17:48 (4 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
-
core/conf.c (modified) (3 diffs)
-
doc/version.txt (modified) (1 diff)
-
lib/ubasic/ubasic.c (modified) (1 diff)
-
makefile.inc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/core/conf.c
r603 r604 107 107 void clear_values() 108 108 { 109 if (conf.platformid != atoi(PLATFORMID)) // the following config entries will be resetted if you switch the camera using the same cfg109 if (conf.platformid != PLATFORMID) // the following config entries will be resetted if you switch the camera using the same cfg 110 110 { 111 111 conf.raw_cache = 0; … … 115 115 conf.fast_movie_quality_control = 0; 116 116 conf.zoom_scale = 100; 117 conf.platformid = atoi(PLATFORMID);117 conf.platformid = PLATFORMID; 118 118 } 119 119 … … 390 390 CONF_INFO(227, conf.flash_sync_curtain, CONF_DEF_VALUE, i:0, NULL), 391 391 CONF_INFO(228, conf.raw_timer, CONF_DEF_VALUE, i:0, NULL), 392 CONF_INFO(229, conf.platformid, CONF_DEF_VALUE, i: 0, NULL),392 CONF_INFO(229, conf.platformid, CONF_DEF_VALUE, i:PLATFORMID, NULL), 393 393 CONF_INFO(230, conf.save_raw_in_edgeoverlay, CONF_DEF_VALUE, i:0, NULL), 394 394 CONF_INFO(231, conf.save_raw_in_auto, CONF_DEF_VALUE, i:0, NULL), -
trunk/doc/version.txt
r603 r604 4 4 5 5 6 0.8.6 / #597-603 / PhyrePhoX 6 0.8.6 / #597-604 / PhyrePhoX 7 8 * fixed platform_id again :D 7 9 8 10 + new function (one of my favourites to date, and i just wrote it :D), only for s-series & TX-1 -
trunk/lib/ubasic/ubasic.c
r602 r604 272 272 case TOKENIZER_GET_PLATFORM_ID: 273 273 accept(TOKENIZER_GET_PLATFORM_ID); 274 r = atoi(PLATFORMID);274 r = PLATFORMID; 275 275 break; 276 276 case TOKENIZER_GET_DRIVE_MODE: -
trunk/makefile.inc
r593 r604 287 287 CFLAGS+=-mthumb-interwork 288 288 CFLAGS+=-I$(topdir)include $(PLFLAGS) $(CPPFLAGS) 289 CFLAGS+=-DPLATFORM=\"$(PLATFORM)\" -DPLATFORMSUB=\"$(PLATFORMSUB)\" -DPLATFORMID= \"$(PLATFORMID)\"-DHDK_VERSION=\"$(VER)\" -DBUILD_NUMBER=\"$(BUILD_NUMBER)\" -DCAMERA_$(PLATFORM)=1289 CFLAGS+=-DPLATFORM=\"$(PLATFORM)\" -DPLATFORMSUB=\"$(PLATFORMSUB)\" -DPLATFORMID=$(PLATFORMID) -DHDK_VERSION=\"$(VER)\" -DBUILD_NUMBER=\"$(BUILD_NUMBER)\" -DCAMERA_$(PLATFORM)=1 290 290 CFLAGS+=-Wall -Wno-unused -Wno-format 291 291 LDFLAGS=-L$(topdir)lib/math -L$(topdir)lib/font
Note: See TracChangeset
for help on using the changeset viewer.