Subversion Repositories FlightCtrl

Rev

Rev 1038 | Rev 1058 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1038 Rev 1051
Line 156... Line 156...
156
        i2c_init();
156
        i2c_init();
157
        SPI_MasterInit();
157
        SPI_MasterInit();
Line 158... Line 158...
158
   
158
 
Line 159... Line -...
159
        sei();
-
 
160
 
-
 
161
    VersionInfo.Hauptversion = VERSION_HAUPTVERSION;
-
 
162
    VersionInfo.Nebenversion = VERSION_NEBENVERSION;
-
 
163
    VersionInfo.PCKompatibel = VERSION_KOMPATIBEL;
-
 
164
    VersionInfo.NaviKompatibel = NAVI_KOMPATIBEL;
-
 
165
    VersionInfo.Hardware = 1; // FlightCtrl
-
 
166
        VersionInfo.Patch        = VERSION_INDEX;
159
        sei();
167
   
160
 
Line 168... Line 161...
168
        printf("\n\rFlightControl\n\rHardware:%d.%d\n\rSoftware:V%d.%d%c ",PlatinenVersion/10,PlatinenVersion%10, VERSION_HAUPTVERSION, VERSION_NEBENVERSION,VERSION_INDEX + 'a');
161
        printf("\n\rFlightControl\n\rHardware:%d.%d\n\rSoftware:V%d.%d%c ",PlatinenVersion/10,PlatinenVersion%10, VERSION_MAJOR, VERSION_MINOR,VERSION_PATCH + 'a');
Line 169... Line 162...
169
        printf("\n\r==============================");
162
        printf("\n\r==============================");
Line 243... Line 236...
243
            SendMotorData();
236
            SendMotorData();
244
            ROT_OFF;
237
            ROT_OFF;
245
            if(PcZugriff) PcZugriff--;
238
            if(PcZugriff) PcZugriff--;
246
             else
239
             else
247
              {
240
              {
248
               DubWiseKeys[0] = 0;
-
 
249
               DubWiseKeys[1] = 0;
-
 
250
                           ExternControl.Config = 0;
241
                           ExternControl.Config = 0;
251
               ExternStickNick = 0;
242
               ExternStickNick = 0;
252
               ExternStickRoll = 0;
243
               ExternStickRoll = 0;
253
               ExternStickGier = 0;
244
               ExternStickGier = 0;
254
              }
245
              }