Skip to content

Commit

Permalink
(Continued)
Browse files Browse the repository at this point in the history
  • Loading branch information
wberube committed May 31, 2024
1 parent 8d0aa5c commit e77f318
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/hal/support.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,14 @@ void hal_identify(void) {
return;
case 0xF9:
plat = HAL_PLATFORM_I6C;
strcpy(series, "infinity6c");
chnCount = I6C_VENC_CHN_NUM;
chnState = (hal_chnstate*)i6c_state;
venc_thread = i6c_video_thread;
return;
case 0xFB:
plat = HAL_PLATFORM_I6F;
strcpy(series, "infinity6f");
chnCount = I6F_VENC_CHN_NUM;
chnState = (hal_chnstate*)i6f_state;
venc_thread = i6f_video_thread;
Expand All @@ -91,6 +93,7 @@ void hal_identify(void) {
switch ((val >> 12) & 0xFF) {
case 0x21:
case 0x31:
plat = HAL_PLATFORM_TX;
strcpy(series, val == 0x21 ? "T21" :
val == 0x31 ? "T31" : "unknown");
chnCount = TX_VENC_CHN_NUM;
Expand Down

0 comments on commit e77f318

Please sign in to comment.