Subversion Repositories FlightCtrl

Rev

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

Rev 1673 Rev 1674
Line 430... Line 430...
430
                                // try to read BL configuration
430
                                // try to read BL configuration
431
                                tempchar2 = I2C_ReadBLConfig(pRxData[0]);
431
                                tempchar2 = I2C_ReadBLConfig(pRxData[0]);
432
                                if(tempchar2 == BLCONFIG_SUCCESS) tempchar1 = 1;
432
                                if(tempchar2 == BLCONFIG_SUCCESS) tempchar1 = 1;
433
                                else tempchar1 = 0;
433
                                else tempchar1 = 0;
434
                                while(!UebertragungAbgeschlossen); // wait for previous frame to be sent
434
                                while(!UebertragungAbgeschlossen); // wait for previous frame to be sent
435
                                SendOutData('U', FC_ADDRESS, 4, &tempchar1, sizeof(tempchar1), &tempchar2, sizeof(tempchar2) &pRxData[0], 1, &BLConfig, sizeof(BLConfig_t));
435
                                SendOutData('U', FC_ADDRESS, 4, &tempchar1, sizeof(tempchar1), &tempchar2, sizeof(tempchar2), &pRxData[0], 1, &BLConfig, sizeof(BLConfig_t));
436
                                break;
436
                                break;
Line 437... Line 437...
437
 
437
 
438
                        case 'w': // write BL parameter
438
                        case 'w': // write BL parameter
439
                                Debug("Writing BL %d", pRxData[0]);
439
                                Debug("Writing BL %d", pRxData[0]);