Subversion Repositories Projects

Rev

Rev 2043 | Rev 2099 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2043 Rev 2075
Line 139... Line 139...
139
        if (setting.param.Revision != EEPARAM_REVISION) {
139
        if (setting.param.Revision != EEPARAM_REVISION) {
140
                write_ascii_string_pgm(3, 11, PSTR("WRONG SETTINGS REVISION"));
140
                write_ascii_string_pgm(3, 11, PSTR("WRONG SETTINGS REVISION"));
141
                write_ascii_string_pgm(3, 12, PSTR("OSD:     FC:"));
141
                write_ascii_string_pgm(3, 12, PSTR("OSD:     FC:"));
142
        write_ndigit_number_u(8, 12, EEPARAM_REVISION, 3, 1);
142
        write_ndigit_number_u(8, 12, EEPARAM_REVISION, 3, 1);
143
        write_ndigit_number_u(15, 12, setting.param.Revision, 3, 1);
143
        write_ndigit_number_u(15, 12, setting.param.Revision, 3, 1);
144
                while (1) {};
144
                for (uint8_t i = 0; i < 120; i++) {_delay_ms(1000);}
145
        }
145
        }
146
 
146
 
147
#if FCONLY
147
#if FCONLY
148
#else
148
#else
149
        if (naviData.Version != NAVIDATA_VERSION) {
149
        if (naviData.Version != NAVIDATA_VERSION) {
150
                write_ascii_string_pgm(3, 11, PSTR("WRONG NAVIDATA VERSION"));
150
                write_ascii_string_pgm(3, 11, PSTR("WRONG NAVIDATA VERSION"));
151
                write_ascii_string_pgm(3, 12, PSTR("OSD:     FC:"));
151
                write_ascii_string_pgm(3, 12, PSTR("OSD:     FC:"));
152
        write_ndigit_number_u(8, 12, NAVIDATA_VERSION, 3, 1);
152
        write_ndigit_number_u(8, 12, NAVIDATA_VERSION, 3, 1);
153
        write_ndigit_number_u(15, 12, naviData.Version, 3, 1);
153
        write_ndigit_number_u(15, 12, naviData.Version, 3, 1);
154
                while (1) {};
154
                for (uint8_t i = 0; i < 120; i++) {_delay_ms(1000);}
155
        }
155
        }
156
#endif
156
#endif
157
 
157
 
158
    //setting = *((paramset_serial*)pRxData);
158
    //setting = *((paramset_serial*)pRxData);
159
#else 
159
#else