Changeset 604


Ignore:
Timestamp:
11/29/08 23:17:48 (4 years ago)
Author:
phyrephox
Message:
  • fixed platform_id again :D (wasnt really a bug)

final commit for tonight (hopefully) thx to reyalp

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/core/conf.c

    r603 r604  
    107107void clear_values() 
    108108{        
    109         if (conf.platformid != atoi(PLATFORMID)) // the following config entries will be resetted if you switch the camera using the same cfg 
     109        if (conf.platformid != PLATFORMID) // the following config entries will be resetted if you switch the camera using the same cfg 
    110110        { 
    111111    conf.raw_cache = 0; 
     
    115115    conf.fast_movie_quality_control = 0; 
    116116    conf.zoom_scale = 100; 
    117     conf.platformid = atoi(PLATFORMID); 
     117    conf.platformid = PLATFORMID; 
    118118        } 
    119119 
     
    390390    CONF_INFO(227, conf.flash_sync_curtain,     CONF_DEF_VALUE, i:0, NULL), 
    391391    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), 
    393393    CONF_INFO(230, conf.save_raw_in_edgeoverlay,     CONF_DEF_VALUE, i:0, NULL), 
    394394    CONF_INFO(231, conf.save_raw_in_auto,     CONF_DEF_VALUE, i:0, NULL), 
  • trunk/doc/version.txt

    r603 r604  
    44 
    55 
    6 0.8.6 / #597-603 / PhyrePhoX 
     60.8.6 / #597-604 / PhyrePhoX 
     7 
     8* fixed platform_id again :D 
    79 
    810+ 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  
    272272  case TOKENIZER_GET_PLATFORM_ID: 
    273273    accept(TOKENIZER_GET_PLATFORM_ID); 
    274     r = atoi(PLATFORMID); 
     274    r = PLATFORMID; 
    275275   break; 
    276276  case TOKENIZER_GET_DRIVE_MODE: 
  • trunk/makefile.inc

    r593 r604  
    287287CFLAGS+=-mthumb-interwork 
    288288CFLAGS+=-I$(topdir)include $(PLFLAGS) $(CPPFLAGS) 
    289 CFLAGS+=-DPLATFORM=\"$(PLATFORM)\" -DPLATFORMSUB=\"$(PLATFORMSUB)\" -DPLATFORMID=\"$(PLATFORMID)\" -DHDK_VERSION=\"$(VER)\" -DBUILD_NUMBER=\"$(BUILD_NUMBER)\" -DCAMERA_$(PLATFORM)=1 
     289CFLAGS+=-DPLATFORM=\"$(PLATFORM)\" -DPLATFORMSUB=\"$(PLATFORMSUB)\" -DPLATFORMID=$(PLATFORMID) -DHDK_VERSION=\"$(VER)\" -DBUILD_NUMBER=\"$(BUILD_NUMBER)\" -DCAMERA_$(PLATFORM)=1 
    290290CFLAGS+=-Wall -Wno-unused -Wno-format 
    291291LDFLAGS=-L$(topdir)lib/math -L$(topdir)lib/font 
Note: See TracChangeset for help on using the changeset viewer.