mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 21:22:39 -05:00
fuze+: add unknown channel to debug menu
imx233: always divide physical channels by two for wider range The Fuze+ OF monitors channel 2 but I'm unable to determine the meaning of it. Print the value on the debug menu so that people can have a look at it. Change-Id: I8a942febeafbce06014178abda12e38a16c26664
This commit is contained in:
parent
9caffa8bf7
commit
e07b22f27e
3 changed files with 5 additions and 2 deletions
|
|
@ -76,7 +76,7 @@ int adc_read_physical(int src)
|
|||
{
|
||||
int virt = imx233_lradc_acquire_channel(TIMEOUT_BLOCK);
|
||||
// divide by two for wider ranger
|
||||
imx233_lradc_setup_channel(virt, false, false, 0, src);
|
||||
imx233_lradc_setup_channel(virt, true, false, 0, src);
|
||||
int val = adc_read_physical_ex(virt);
|
||||
imx233_lradc_release_channel(virt);
|
||||
return val;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue