@@ -4,11 +4,11 @@ namespace sfr {
4
4
namespace stabilization {
5
5
// OP Codes 1100
6
6
// 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 );
8
8
} // namespace stabilization
9
9
namespace boot {
10
10
// 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 );
12
12
} // namespace boot
13
13
namespace detumble {
14
14
// OP Codes 1500
@@ -111,12 +111,12 @@ namespace sfr {
111
111
// OP Codes 1900
112
112
SFRField<uint16_t > attempts = SFRField<uint16_t >(0 , 0x1900 );
113
113
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 );
115
115
SFRField<uint16_t > mandatory_attempts_limit = SFRField<uint16_t >(2 , 0x1903 );
116
116
SFRField<uint32_t > start_time = SFRField<uint32_t >(0 , 0x1904 );
117
117
SFRField<uint32_t > burn_time = SFRField<uint32_t >(600 , 0 , 5 * constants::time::one_second, 0x1905 );
118
118
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 );
120
120
} // namespace burnwire
121
121
namespace camera {
122
122
// OP Codes 2000
@@ -203,6 +203,7 @@ namespace sfr {
203
203
namespace temperature {
204
204
// OP Codes 2300
205
205
SFRField<bool > in_sun = SFRField<bool >(false , 0x2300 );
206
+ SFRField<uint8_t > in_sun_val = SFRField<uint8_t >(23 , 0x2301 );
206
207
207
208
SensorReading *temp_c_average = new SensorReading(fault_groups::power_faults::temp_c_average, 1500 , constants::temperature::min_temp_c, constants::temperature::max_temp_c);
208
209
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 {
264
265
{constants::camera::rx, LOW},
265
266
{constants::camera::tx, LOW},
266
267
{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 },
269
270
{constants::burnwire::first_pin, LOW},
270
271
{constants::burnwire::second_pin, LOW},
271
272
{constants::rockblock::sleep_pin, LOW}};
0 commit comments