diff --git a/CHANGELOG.md b/CHANGELOG.md index 25bea694..f1af2b62 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -33,7 +33,9 @@ will consitute of a breaking change warranting a new major release: - The STR handler can now handle the COM error reply and triggers an low severity event accordingly. - Add SCEX handler for EM. - Radiation sensor handler dummy for the EM. -- Added event for SD card states in core controller initialize function +- Added event for SD card information in core controller initialize function. This event will also + be triggered after the SD state machine has run, so the event will generally be triggered twice + at system boot, and once after commanding SD card switches. ## Fixed diff --git a/generators/events/event_parser.py b/generators/events/event_parser.py index 94c1580c..f7463cf9 100644 --- a/generators/events/event_parser.py +++ b/generators/events/event_parser.py @@ -54,9 +54,13 @@ class BspConfig: # Store this file in the root of the generators folder self.csv_filename = Path(f"{ROOT_DIR}/{self.bsp_dir_name}_events.csv") - self.subsystems_csv_filename = Path(f"{ROOT_DIR}/{self.bsp_dir_name}_subsystems.csv") + self.subsystems_csv_filename = Path( + f"{ROOT_DIR}/{self.bsp_dir_name}_subsystems.csv" + ) self.csv_copy_dest = Path(f"{OBSW_ROOT_DIR}/tmtc/eive_tmtc/config/events.csv") - self.subsystem_csv_copy_dest = Path(f"{OBSW_ROOT_DIR}/tmtc/eive_tmtc/config/subsystems.csv") + self.subsystem_csv_copy_dest = Path( + f"{OBSW_ROOT_DIR}/tmtc/eive_tmtc/config/subsystems.csv" + ) if ( self.bsp_select == BspType.BSP_Q7S