MCPcopy Index your code
hub / github.com/FrameworkComputer/framework-system / active_fw

Method active_fw

framework_lib/src/ccgx/mod.rs:221–227  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

219
220impl 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();

Callers 1

active_fw_verMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected