mirror of
https://github.com/openshwprojects/OpenBK7231T_App.git
synced 2025-10-29 11:33:20 +00:00
txw81x configurable i2c pins and hi704 sensor (#1801)
This commit is contained in:
parent
9748043ce8
commit
ce9e6c1443
@ -1 +1 @@
|
||||
Subproject commit 81d5621babdd6aed434d33c0ebc010859c9d3314
|
||||
Subproject commit 37e27673fd4231900ef5013eb541b202e5128a61
|
||||
@ -23,6 +23,8 @@ bool isStarted = false;
|
||||
bool showTimestamp = false;
|
||||
extern time_t g_ntpTime;
|
||||
extern void set_time_watermark(uint16 year, uint16 month, uint16 day, uint16 hour, uint16 min, uint16 sec);
|
||||
int dvp_scl = PC_2;
|
||||
int dvp_sda = PC_3;
|
||||
|
||||
uint8 vcam_en()
|
||||
{
|
||||
@ -72,6 +74,8 @@ void TXW_Cam_Init(void)
|
||||
{
|
||||
if(!isStarted)
|
||||
{
|
||||
dvp_scl = PIN_FindPinIndexForRole(IOR_SOFT_SCL, dvp_scl);
|
||||
dvp_sda = PIN_FindPinIndexForRole(IOR_SOFT_SDA, dvp_sda);
|
||||
uint32_t buf_size = Tokenizer_GetArgIntegerDefault(1, 60 * 1000);
|
||||
uint8 vcam;
|
||||
vcam = vcam_en();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user