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:
@@ -37,6 +37,7 @@
|
||||
#include "hikrobot.h"
|
||||
#include "imagefile.h"
|
||||
#include "median.h"
|
||||
#include "Toupcam.h"
|
||||
|
||||
typedef struct{
|
||||
const uint8_t signature[8];
|
||||
@@ -112,6 +113,9 @@ InputType chkinput(const char *name){
|
||||
#endif
|
||||
#ifdef MVS_FOUND
|
||||
if(0 == strcmp(name, HIKROBOT_CAPT_NAME)) return T_CAPT_HIKROBOT;
|
||||
#endif
|
||||
#ifdef TOUPCAM_FOUND
|
||||
if(0 == strcmp(name, TOUPCAM_CAPT_NAME)) return T_CAPT_TOUPCAM;
|
||||
#endif
|
||||
struct stat fd_stat;
|
||||
stat(name, &fd_stat);
|
||||
|
||||
Reference in New Issue
Block a user