Skip to content

Commit 7bd9e1c

Browse files
author
Josh-Tsai
committed
Fixed: TP board id is wrong when we remove the touchpad
Signed-off-by: Josh-Tsai <josh_tsai@compal.com>
1 parent 4711905 commit 7bd9e1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

board/hx30/board.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -821,7 +821,7 @@ int get_hardware_id(enum adc_channel channel)
821821
int mv;
822822
int i;
823823

824-
mv = adc_read_channel(ADC_AD_BID);
824+
mv = adc_read_channel(channel);
825825

826826
if (mv == ADC_READ_ERROR)
827827
return BOARD_VERSION_UNKNOWN;

0 commit comments

Comments
 (0)