more logging

This commit is contained in:
Peli de Halleux 2019-10-12 18:39:11 -07:00
parent cc75ae57da
commit cffbdb9eae

View File

@ -634,6 +634,7 @@ void cUiUpdatePower(void)
export function setIICMode(port: number, type: number, mode: number) {
if (port < 0) return;
control.dmesg(`iic set type ${type} mode ${mode} at ${port}`)
devcon.setNumber(NumberFormat.Int8LE, DevConOff.Connection + port, DAL.CONN_NXT_IIC)
devcon.setNumber(NumberFormat.Int8LE, DevConOff.Type + port, type)
devcon.setNumber(NumberFormat.Int8LE, DevConOff.Mode + port, mode)