This commit is contained in:
Peli de Halleux 2019-10-12 15:08:49 -07:00
parent 251f198441
commit 068300c5f5

View File

@ -372,6 +372,7 @@ void cUiUpdatePower(void)
} }
//control.dmesg(`detect devices done`) //control.dmesg(`detect devices done`)
} }
}
export class Sensor extends control.Component { export class Sensor extends control.Component {
protected _port: number // this is 0-based protected _port: number // this is 0-based
@ -822,9 +823,9 @@ void cUiUpdatePower(void)
TST_UART_READ = 0xc0487409, TST_UART_READ = 0xc0487409,
TST_UART_WRITE = 0xc048740a, TST_UART_WRITE = 0xc048740a,
} }
} }
namespace sensors { namespace sensors {
export enum ThresholdState { export enum ThresholdState {
Normal = 1, Normal = 1,
High = 2, High = 2,
@ -910,5 +911,4 @@ void cUiUpdatePower(void)
} }
} }
} }
}
} }