Ignore:
Timestamp:
12/18/12 20:48:23 (11 years ago)
Author:
gost
Message:

[LCD frames] fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/plugins/lcdsamsung/lcdsamsung.c

    r19150 r19171  
    136136                day3_d = getscreennode(LCD_Samsung1, "day3_d");
    137137                akttime = getscreennode(LCD_Samsung1, "akttime");
    138                 if(file_exist("/tmp/lcdweather") == 1)
     138                if(file_exist("/tmp/lcdweather"))
    139139                        system("rm /tmp/lcdweather");
    140140                weatherwrite = 0;
     
    322322                        if(weatherthread == NULL && weatherwrite == 0)
    323323                        {
    324                                 if(file_exist("/tmp/lcdweather") != 0)
     324                                if(file_exist("/tmp/lcdweather"))
    325325                                        put = 1;
    326326                        }                       
     
    374374                                                                if(weatherthread == NULL)
    375375                                                                {
    376                                                                         if(file_exist("/tmp/lcdweather") == 0)
     376                                                                        if(!file_exist("/tmp/lcdweather"))
    377377                                                                                weatherthread = addtimer(&lcd_writeweather, START, 10000, 1, NULL, NULL, NULL);
    378378                                                                        else
Note: See TracChangeset for help on using the changeset viewer.