Subversion Repositories FlightCtrl

Rev

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

Rev 2102 Rev 2105
Line 167... Line 167...
167
}
167
}
Line 168... Line 168...
168
 
168
 
169
void gyroOffset_writeToEEProm(void) {
169
void gyroOffset_writeToEEProm(void) {
170
  writeChecksummedBlock(SENSOROFFSET_REVISION, (uint8_t*)&gyroOffset, EEPROM_ADR_GYROOFFSET, sizeof(sensorOffset_t));
170
  writeChecksummedBlock(SENSOROFFSET_REVISION, (uint8_t*)&gyroOffset, EEPROM_ADR_GYROOFFSET, sizeof(sensorOffset_t));
-
 
171
}
-
 
172
 
-
 
173
uint8_t airpressureOffset_readFromEEProm(void) {
-
 
174
  return readChecksummedBlock(SENSOROFFSET_REVISION, (uint8_t*)&airspeedOffset, EEPROM_ADR_AIRSPEEDOFFSET, sizeof(uint16_t));
-
 
175
}
-
 
176
 
-
 
177
void airpressureOffset_writeToEEProm(void) {
-
 
178
  writeChecksummedBlock(SENSOROFFSET_REVISION, (uint8_t*)&airspeedOffset, EEPROM_ADR_AIRSPEEDOFFSET, sizeof(uint16_t));