Changeset 30889


Ignore:
Timestamp:
11/08/14 14:47:27 (8 years ago)
Author:
obi
Message:

fix #223

Location:
titan/titan
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/oled.h

    r30888 r30889  
    2929int oledtext(char *value)
    3030{
    31 printf("b1: value: %s\n", value);
    32 
    3331        struct skin* OLED_nemesis = NULL;
    3432       
     
    3937        else
    4038        {
    41 printf("b2: value: %s\n", value);
    42 printf("b3: getskinconfig: %s\n", getskinconfig("OLED_nemesis", NULL));
    43 
    4439                if(getskinconfig("OLED_nemesis", NULL) == NULL)
    45 {
    46 printf("b4: getskinconfig: NULL\n");
    4740                        OLED_nemesis = getscreen("OLED_nemesis");
    48 }
    4941                else
    50 {
    51 printf("b4: getskinconfig: != NULL\n");
    52 
    5342                        OLED_nemesis = getscreen(getskinconfig("OLED_nemesis", NULL));
    54 }
    55 printf("b5: value: %s\n", value);
    56 /*
    57                 OLED_nemesis = getscreen(getskinconfig("OLED_nemesis", NULL));
    58                 if(status.skinerr == OLED_nemesis)
    59                 {
    60                         OLED_nemesis = getscreen("OLED_nemesis");
    61                 }
    62 */
    6343        }
    6444       
     
    9474        return newnode;
    9575}       
    96        
    9776
    9877#endif 
  • titan/titan/skin.h

    r30883 r30889  
    352352struct skin* getscreen(char* screenname)
    353353{
    354 printf("a1: screenname: %s\n", screenname);
     354        debug(100, "screenname=%s", screenname);
    355355        struct skin* node = skin;
    356356
     
    363363        }
    364364        err("screen not found %s", screenname);
    365 printf("a2: screenname not found: %s\n", screenname);
    366365        return status.skinerr;
    367366}
Note: See TracChangeset for help on using the changeset viewer.