framework: Update debug to print voltage
Signed-off-by: Daniel Schaefer <dhs@frame.work>
This commit is contained in:
@@ -159,8 +159,7 @@ static bool interpret_adc_row(matrix_row_t cur_matrix[], adc10ksample_t voltage,
|
|||||||
}
|
}
|
||||||
changed = cur_matrix[row] != new_row;
|
changed = cur_matrix[row] != new_row;
|
||||||
if (key_state) {
|
if (key_state) {
|
||||||
uprintf("old row: %d\n", cur_matrix[row]);
|
uprintf("Keypress at KSO%d, KSI%d - %d.%dV\n", col, row, voltage/10000, voltage%10000);
|
||||||
uprintf("new row: %d\n", new_row);
|
|
||||||
}
|
}
|
||||||
cur_matrix[row] = new_row;
|
cur_matrix[row] = new_row;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user