diff options
Diffstat (limited to 'firmware/target/hosted/agptek/debug-agptek.c')
-rw-r--r-- | firmware/target/hosted/agptek/debug-agptek.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/firmware/target/hosted/agptek/debug-agptek.c b/firmware/target/hosted/agptek/debug-agptek.c index b4fcb4246b..7f794a7073 100644 --- a/firmware/target/hosted/agptek/debug-agptek.c +++ b/firmware/target/hosted/agptek/debug-agptek.c | |||
@@ -41,6 +41,13 @@ bool dbg_hw_info(void) | |||
41 | line = 0; | 41 | line = 0; |
42 | 42 | ||
43 | lcd_putsf(0, line++, "pcm srate: %d", pcm_alsa_get_rate()); | 43 | lcd_putsf(0, line++, "pcm srate: %d", pcm_alsa_get_rate()); |
44 | #ifdef HAVE_HEADPHONE_DETECTION | ||
45 | lcd_putsf(0, line++, "hp: %d", headphones_inserted()); | ||
46 | #endif | ||
47 | #ifdef HAVE_LINEOUT_DETECTION | ||
48 | lcd_putsf(0, line++, "lo: %d", lineout_inserted()); | ||
49 | #endif | ||
50 | |||
44 | btn = button_read_device(); | 51 | btn = button_read_device(); |
45 | 52 | ||
46 | lcd_update(); | 53 | lcd_update(); |