@@ -61,7 +61,6 void get_temperatures( unsigned char *te | |||
|
61 | 61 | void get_v_e1_e2_f3( unsigned char *spacecraft_potential ); |
|
62 | 62 | void get_cpu_load( unsigned char *resource_statistics ); |
|
63 | 63 | void set_hk_lfr_sc_potential_flag( bool state ); |
|
64 | void set_hk_lfr_mag_fields_flag( bool state ); | |
|
65 | 64 | void set_sy_lfr_watchdog_enabled( bool state ); |
|
66 | 65 | void set_hk_lfr_calib_enable( bool state ); |
|
67 | 66 | void set_hk_lfr_reset_cause( enum lfr_reset_cause_t lfr_reset_cause ); |
@@ -643,18 +643,6 void set_hk_lfr_sc_potential_flag( bool | |||
|
643 | 643 | } |
|
644 | 644 | } |
|
645 | 645 | |
|
646 | void set_hk_lfr_mag_fields_flag( bool state ) | |
|
647 | { | |
|
648 | if (state == true) | |
|
649 | { | |
|
650 | housekeeping_packet.lfr_status_word[1] = housekeeping_packet.lfr_status_word[1] | 0x20; // [0010 0000] | |
|
651 | } | |
|
652 | else | |
|
653 | { | |
|
654 | housekeeping_packet.lfr_status_word[1] = housekeeping_packet.lfr_status_word[1] & 0xd7; // [1101 1111] | |
|
655 | } | |
|
656 | } | |
|
657 | ||
|
658 | 646 | void set_sy_lfr_watchdog_enabled( bool state ) |
|
659 | 647 | { |
|
660 | 648 | if (state == true) |
General Comments 0
You need to be logged in to leave comments.
Login now