We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b17564 commit 45100f6Copy full SHA for 45100f6
framework_lib/src/chromium_ec/mod.rs
@@ -1142,9 +1142,11 @@ impl CrosEc {
1142
)));
1143
}
1144
1145
+ debug!("ADC Channel {} - Measured {}mv", channel, mv);
1146
for (board_id, board_id_res) in BOARD_VERSION.iter().enumerate() {
1147
if mv < *board_id_res {
1148
// 15 is not present, less than 4 is undefined
1149
+ debug!("ADC Channel {} - Board ID {}", channel, board_id);
1150
return Ok(if board_id == 15 || board_id < 4 {
1151
None
1152
} else {
0 commit comments