Skip to content

Commit c1f59db

Browse files
committed
fix compiler issues on ubuntu 22.04
similar to 846976a Signed-off-by: Kieran Levin <ktl@frame.work>
1 parent b307d0f commit c1f59db

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

util/build.mk

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,15 @@
77
#
88

99
host-util-bin=ectool lbplay stm32mon ec_sb_firmware_update lbcc \
10-
ec_parse_panicinfo cbi-util iteflash
10+
ec_parse_panicinfo cbi-util
1111
build-util-bin=ec_uartd
1212
build-util-art+=util/export_taskinfo.so
1313
ifeq ($(CHIP),npcx)
1414
build-util-bin+=ecst
1515
endif
16+
ifeq ($(CHIP_FAMILY),it8xxx2)
17+
build-util-bin+=iteflash
18+
endif
1619
host-util-bin+=uartupdatetool
1720
uartupdatetool-objs=uut/main.o uut/cmd.o uut/opr.o uut/l_com_port.o \
1821
uut/lib_crc.o

util/ectool_keyscan.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ static const unsigned char kbd_plain_xlate[] = {
137137
'8', '9', '-', '4', '5', '6', '+', '1', /* 0x40 - 0x4f */
138138
'2', '3', '0', '.', 0xff, 0xff, 0xff, 0xff,
139139
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, /* 0x50 - 0x5F */
140-
'\r', 0xff, 0xff
140+
'\r', 0xff, 0xff, 0x00
141141
};
142142

143143
/**

0 commit comments

Comments
 (0)