Rev 732 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 732 | Rev 735 | ||
---|---|---|---|
Line 124... | Line 124... | ||
124 | //SPI_MasterInit(); |
124 | //SPI_MasterInit(); |
Line 125... | Line 125... | ||
125 | 125 | ||
126 | // enable interrupts global |
126 | // enable interrupts global |
Line 127... | Line 127... | ||
127 | sei(); |
127 | sei(); |
128 | 128 | ||
129 | VersionInfo.Hauptversion = VERSION_HAUPTVERSION; |
129 | VersionInfo.Major = VERSION_MAJOR; |
Line 130... | Line 130... | ||
130 | VersionInfo.Nebenversion = VERSION_NEBENVERSION; |
130 | VersionInfo.Minor = VERSION_MINOR; |
131 | VersionInfo.PCKompatibel = VERSION_KOMPATIBEL; |
131 | VersionInfo.PCCompatible = VERSION_COMPATIBLE; |
132 | 132 | ||
Line 133... | Line 133... | ||
133 | printf("\n\rFlightControl\n\rHardware:%d.%d\n\rSoftware:V%d.%d%c ",BoardRelease/10,BoardRelease%10, VERSION_HAUPTVERSION, VERSION_NEBENVERSION,VERSION_INDEX + 'a'); |
133 | printf("\n\rFlightControl\n\rHardware:%d.%d\n\rSoftware:V%d.%d%c ",BoardRelease/10,BoardRelease%10, VERSION_MAJOR, VERSION_MINOR,VERSION_INDEX + 'a'); |
134 | printf("\n\r=============================="); |
134 | printf("\n\r=============================="); |
Line 218... | Line 218... | ||
218 | I2CTimeout--; |
218 | I2CTimeout--; |
219 | ROT_OFF; |
219 | ROT_OFF; |
220 | } |
220 | } |
221 | if(SIO_DEBUG && !UpdateMotor) |
221 | if(SIO_DEBUG && !UpdateMotor) |
222 | { |
222 | { |
223 | DatenUebertragung(); |
223 | TransmitTxData(); |
224 | BearbeiteRxDaten(); |
224 | ProcessRxData(); |
225 | } |
225 | } |
226 | else BearbeiteRxDaten(); |
226 | else ProcessRxData(); |
227 | if(CheckDelay(timer)) |
227 | if(CheckDelay(timer)) |
228 | { |
228 | { |
229 | if(UBat < ParamSet.LowVoltageWarning) |
229 | if(UBat < ParamSet.LowVoltageWarning) |
230 | { |
230 | { |
231 | if(BeepModulation == 0xFFFF) |
231 | if(BeepModulation == 0xFFFF) |