Index: leahi_dialin/fp/modules/fp_test_configs.py =================================================================== diff -u -r22454fbcfdd5607b8138cd7412acfdbcdf3384b9 -rdb4edbea32c4cf60d80710bd0eb56728706ac8c8 --- leahi_dialin/fp/modules/fp_test_configs.py (.../fp_test_configs.py) (revision 22454fbcfdd5607b8138cd7412acfdbcdf3384b9) +++ leahi_dialin/fp/modules/fp_test_configs.py (.../fp_test_configs.py) (revision db4edbea32c4cf60d80710bd0eb56728706ac8c8) @@ -58,32 +58,8 @@ @return: the status of a test config """ return self.fp_test_configs[FPTestConfigOptions(config).name] - # TODO - def cmd_set_recover_from_mode_fault_signal(self): - """ - Constructs and sends the FP test config the signal to recover from mode fault - Constraints: - Must be logged into FP. - @return: 1 if successful, zero otherwise - """ - message = DenaliMessage.build_message(channel_id=DenaliChannels.fp_to_dialin_ch_id, - message_id=MsgIds.MSG_ID_FP_SIGNAL_RECOVER_FROM_FAULT_MODE.value) - - self.logger.debug("Setting signal to recover from mode fault") - - # Send message - received_message = self.can_interface.send(message) - - # If there is no content... - if received_message is not None: - # response payload is OK or not OK - return received_message['message'][DenaliMessage.PAYLOAD_START_INDEX] - else: - self.logger.debug("Timeout!!!!") - return False - # TODO check if FP uses own test config messages or shares with DD def cmd_set_test_config(self, config: int, reset: int = NO_RESET): """ Constructs and sends the FP test config