Subversion Repositories FlightCtrl

Rev

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

Rev 2322 Rev 2323
Line 135... Line 135...
135
     {
135
     {
136
          PlatinenVersion = 23; ACC_AltitudeControl = 1;
136
          PlatinenVersion = 23; ACC_AltitudeControl = 1;
137
         }  
137
         }  
138
        if(PlatinenVersion != GetParamByte(PID_HARDWARE_VERSION))
138
        if(PlatinenVersion != GetParamByte(PID_HARDWARE_VERSION))
139
         {
139
         {
140
          if(GetParamByte(PID_HARDWARE_VERSION) != 0xFF) SetParamByte(PID_EE_REVISION,0x00); // reset the Settings if the Version changed
140
          SetParamByte(PID_EE_REVISION,0x00); // reset the Settings if the Version changed
141
          SetParamByte(PID_HARDWARE_VERSION,PlatinenVersion); // Remember the Version number
141
          SetParamByte(PID_HARDWARE_VERSION,PlatinenVersion); // Remember the Version number
142
         }
142
         }
143
#else
143
#else
144
        if(PINB & 0x01)
144
        if(PINB & 0x01)
145
     {
145
     {