diff options
author | Keith Packard <keithp@keithp.com> | 2009-04-26 00:11:32 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2009-04-26 00:11:32 -0700 |
commit | 38a0b61b0a0b3c00f064c8d562950a17a6ddff4a (patch) | |
tree | ee099db3cfa30d5fe7a94523fe1e7a46f64d238d /ao_ee.c | |
parent | c65f1a1acd2ca00758833cec5d3f8056d303d3e2 (diff) |
Add configuration support
Current config variables:
Main deploy altitude above launch (in meters)
Acceleration zero g calibration (manual or automatic)
Radio channel (freq = 435.550MHz + channel * 100kHz)
Callsign (max 8 characters)
Supporting this involved shuffling code around so that the
non-telemetrum builds could include only the stuff they needed.
Diffstat (limited to 'ao_ee.c')
-rw-r--r-- | ao_ee.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -331,6 +331,7 @@ ao_ee_write_config(uint8_t *buf, uint16_t len) __reentrant ao_ee_fill(AO_EE_CONFIG_BLOCK); memcpy(ao_ee_data, buf, len); ao_ee_block_dirty = 1; + ao_ee_flush_internal(); } ao_mutex_put(&ao_ee_mutex); return 1; } |