Skip to content

Commit 83286d6

Browse files
Merge pull request #78 from FrameworkComputer/misc
Add export and Debug deriving
2 parents 65efc9b + 5a26a38 commit 83286d6

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

framework_lib/src/chromium_ec/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -974,7 +974,7 @@ pub fn print_err<T>(something: EcResult<T>) -> Option<T> {
974974
}
975975

976976
/// Which of the two EC images is currently in-use
977-
#[derive(PartialEq)]
977+
#[derive(PartialEq, Debug)]
978978
pub enum EcCurrentImage {
979979
Unknown = 0,
980980
RO = 1,

framework_lib/src/smbios.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ use std::prelude::v1::*;
55
#[cfg(all(not(feature = "uefi"), not(target_os = "freebsd")))]
66
use std::io::ErrorKind;
77

8-
use crate::util::{Config, Platform};
8+
use crate::util::Config;
9+
pub use crate::util::Platform;
910
use num_derive::FromPrimitive;
1011
use smbioslib::*;
1112
#[cfg(feature = "uefi")]

0 commit comments

Comments
 (0)