@@ -4,11 +4,11 @@ namespace sfr {
44 namespace stabilization {
55 // OP Codes 1100
66 // TODO actual default value
7- SFRField<uint32_t > max_time = SFRField<uint32_t >(2 * constants::time::one_hour , 0x1100 );
7+ SFRField<uint32_t > max_time = SFRField<uint32_t >(5 * constants::time::one_second , 0x1100 );
88 } // namespace stabilization
99 namespace boot {
1010 // OP Codes 1200
11- SFRField<uint32_t > max_time = SFRField<uint32_t >(2 * constants::time::one_hour, 0x1200 );
11+ SFRField<uint32_t > max_time = SFRField<uint32_t >(1 * constants::time::one_hour, 0x1200 );
1212 } // namespace boot
1313 namespace detumble {
1414 // OP Codes 1500
@@ -111,12 +111,12 @@ namespace sfr {
111111 // OP Codes 1900
112112 SFRField<uint16_t > attempts = SFRField<uint16_t >(0 , 0x1900 );
113113 SFRField<uint16_t > mode = SFRField<uint16_t >((uint16_t )burnwire_mode_type::standby, 0x1901 );
114- SFRField<uint16_t > attempts_limit = SFRField<uint16_t >(10 , 0x1902 );
114+ SFRField<uint16_t > attempts_limit = SFRField<uint16_t >(11 , 0x1902 );
115115 SFRField<uint16_t > mandatory_attempts_limit = SFRField<uint16_t >(2 , 0x1903 );
116116 SFRField<uint32_t > start_time = SFRField<uint32_t >(0 , 0x1904 );
117117 SFRField<uint32_t > burn_time = SFRField<uint32_t >(600 , 0 , 5 * constants::time::one_second, 0x1905 );
118118 SFRField<uint32_t > armed_time = SFRField<uint32_t >(48 * constants::time::one_hour, 0 , 12 * constants::time::one_hour, 0x1906 );
119- SFRField<uint32_t > delay_time = SFRField<uint32_t >(constants::time::one_second, 0x1907 );
119+ SFRField<uint32_t > delay_time = SFRField<uint32_t >(5 * constants::time::one_second, 0x1907 );
120120 } // namespace burnwire
121121 namespace camera {
122122 // OP Codes 2000
@@ -203,6 +203,7 @@ namespace sfr {
203203 namespace temperature {
204204 // OP Codes 2300
205205 SFRField<bool > in_sun = SFRField<bool >(false , 0x2300 );
206+ SFRField<uint8_t > in_sun_val = SFRField<uint8_t >(23 , 0x2301 );
206207
207208 SensorReading *temp_c_average = new SensorReading(fault_groups::power_faults::temp_c_average, 1500 , constants::temperature::min_temp_c, constants::temperature::max_temp_c);
208209 SensorReading *temp_c_value = new SensorReading(fault_groups::power_faults::temp_c_value, 1 , constants::temperature::min_temp_c, constants::temperature::max_temp_c);
@@ -264,8 +265,8 @@ namespace sfr {
264265 {constants::camera::rx, LOW},
265266 {constants::camera::tx, LOW},
266267 {constants::button::button_pin, HIGH},
267- {constants::acs::STBXYpin, HIGH },
268- {constants::acs::STBZpin, HIGH },
268+ {constants::acs::STBXYpin, LOW },
269+ {constants::acs::STBZpin, LOW },
269270 {constants::burnwire::first_pin, LOW},
270271 {constants::burnwire::second_pin, LOW},
271272 {constants::rockblock::sleep_pin, LOW}};
0 commit comments