diff --git a/header/fsw_misc.h b/header/fsw_misc.h --- a/header/fsw_misc.h +++ b/header/fsw_misc.h @@ -61,7 +61,6 @@ void get_temperatures( unsigned char *te void get_v_e1_e2_f3( unsigned char *spacecraft_potential ); void get_cpu_load( unsigned char *resource_statistics ); void set_hk_lfr_sc_potential_flag( bool state ); -void set_hk_lfr_mag_fields_flag( bool state ); void set_sy_lfr_watchdog_enabled( bool state ); void set_hk_lfr_calib_enable( bool state ); void set_hk_lfr_reset_cause( enum lfr_reset_cause_t lfr_reset_cause ); diff --git a/src/fsw_misc.c b/src/fsw_misc.c --- a/src/fsw_misc.c +++ b/src/fsw_misc.c @@ -643,18 +643,6 @@ void set_hk_lfr_sc_potential_flag( bool } } -void set_hk_lfr_mag_fields_flag( bool state ) -{ - if (state == true) - { - housekeeping_packet.lfr_status_word[1] = housekeeping_packet.lfr_status_word[1] | 0x20; // [0010 0000] - } - else - { - housekeeping_packet.lfr_status_word[1] = housekeeping_packet.lfr_status_word[1] & 0xd7; // [1101 1111] - } -} - void set_sy_lfr_watchdog_enabled( bool state ) { if (state == true)