(&self)
| 219 | |
| 220 | impl ControllerFirmwares { |
| 221 | pub fn active_fw(&self) -> ControllerVersion { |
| 222 | match self.active_fw { |
| 223 | FwMode::MainFw => self.main_fw, |
| 224 | FwMode::BackupFw => self.backup_fw, |
| 225 | FwMode::BootLoader => self.bootloader, |
| 226 | } |
| 227 | } |
| 228 | |
| 229 | pub fn active_fw_ver(&self) -> String { |
| 230 | let active = self.active_fw(); |