mirror of
https://github.com/eddyem/astrovideoguide_v3.git
synced 2026-01-31 20:25:01 +03:00
little fixes
This commit is contained in:
parent
b9084907a3
commit
7769391186
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
# Object files
|
# Object files
|
||||||
*.o
|
*.o
|
||||||
|
*/mk/*
|
||||||
|
|
||||||
# Libraries
|
# Libraries
|
||||||
*.lib
|
*.lib
|
||||||
|
|||||||
@ -20,13 +20,13 @@ option(BASLER "Add Basler cameras support" OFF)
|
|||||||
option(GRASSHOPPER "Add GrassHopper cameras support" OFF)
|
option(GRASSHOPPER "Add GrassHopper cameras support" OFF)
|
||||||
option(HIKROBOT "Add HikRobot cameras support" OFF)
|
option(HIKROBOT "Add HikRobot cameras support" OFF)
|
||||||
|
|
||||||
# default flags
|
# default flags (c17 because MVS code have `typedef char bool`)
|
||||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -W -Wextra -std=c17")
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -W -Wextra -Werror -std=c17")
|
||||||
set(CMAKE_COLOR_MAKEFILE ON)
|
set(CMAKE_COLOR_MAKEFILE ON)
|
||||||
|
|
||||||
# cmake -DDEBUG=yes -> debugging
|
# cmake -DDEBUG=yes -> debugging
|
||||||
if(DEBUG)
|
if(DEBUG)
|
||||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Og -g3 -ggdb -fno-builtin-strlen -Werror")
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Og -g3 -ggdb -fno-builtin-strlen")
|
||||||
add_definitions(-DEBUG)
|
add_definitions(-DEBUG)
|
||||||
set(CMAKE_BUILD_TYPE DEBUG)
|
set(CMAKE_BUILD_TYPE DEBUG)
|
||||||
set(CMAKE_VERBOSE_MAKEFILE "ON")
|
set(CMAKE_VERBOSE_MAKEFILE "ON")
|
||||||
|
|||||||
@ -301,7 +301,9 @@ int camcapture(void (*process)(Image*)){
|
|||||||
}
|
}
|
||||||
exptime = theconf.exptime;
|
exptime = theconf.exptime;
|
||||||
while(1){
|
while(1){
|
||||||
|
#ifdef EBUG
|
||||||
double t0 = sl_dtime();
|
double t0 = sl_dtime();
|
||||||
|
#endif
|
||||||
if(stopwork){
|
if(stopwork){
|
||||||
DBG("STOP");
|
DBG("STOP");
|
||||||
break;
|
break;
|
||||||
|
|||||||
@ -39,7 +39,7 @@
|
|||||||
#include "median.h"
|
#include "median.h"
|
||||||
|
|
||||||
typedef struct{
|
typedef struct{
|
||||||
const char signature[8];
|
const uint8_t signature[8];
|
||||||
uint8_t len;
|
uint8_t len;
|
||||||
InputType it;
|
InputType it;
|
||||||
} imsign;
|
} imsign;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user