mirror of
https://github.com/eddyem/astrovideoguide_v3.git
synced 2026-03-21 17:20:58 +03:00
Add toupcam support
This commit is contained in:
@@ -76,7 +76,8 @@ static InputType chk_inp(const char *name){
|
||||
if(!name) ERRX("Point file or directory name to monitor");
|
||||
InputType itp = chkinput(name);
|
||||
if(T_WRONG == itp) return T_WRONG;
|
||||
green("\n%s is a ", name);
|
||||
green("\n%s", name);
|
||||
printf(" is a ");
|
||||
switch(itp){
|
||||
case T_DIRECTORY:
|
||||
printf("directory");
|
||||
@@ -108,6 +109,9 @@ static InputType chk_inp(const char *name){
|
||||
case T_CAPT_HIKROBOT:
|
||||
printf("hikrobot camera capture");
|
||||
break;
|
||||
case T_CAPT_TOUPCAM:
|
||||
printf("toupcam camera capture");
|
||||
break;
|
||||
default:
|
||||
printf("unsupported type\n");
|
||||
return T_WRONG;
|
||||
|
||||
Reference in New Issue
Block a user