Subversion Repositories NaviCtrl

Rev

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

Rev 460 Rev 470
Line 209... Line 209...
209
                                        pRxBuff->Position = 0;                                 
209
                                        pRxBuff->Position = 0;                                 
210
                                        pRxBuff->Locked = TRUE;                                     // lock the rxd buffer 
210
                                        pRxBuff->Locked = TRUE;                                     // lock the rxd buffer 
211
                                        // if 2nd byte is an 'R' start bootloader
211
                                        // if 2nd byte is an 'R' start bootloader
212
                                        if(pRxBuff->pData[2] == 'R' && !(FC.StatusFlags & FC_STATUS_MOTOR_RUN)) // not if the motors are running)
212
                                        if(pRxBuff->pData[2] == 'R' && !(FC.StatusFlags & FC_STATUS_MOTOR_RUN)) // not if the motors are running)
213
                                        {
213
                                        {
214
                                                PowerOff();
-
 
215
                                                VIC_DeInit();
214
                                                VIC_DeInit();
216
                                                Execute_Bootloader(); // Reset-Commando - Bootloader starten
215
                                                Execute_Bootloader(); // Reset-Commando - Bootloader starten
217
                                        }
216
                                        }
218
                                } // eof checksum valid
217
                                } // eof checksum valid
219
                                else
218
                                else