Various fixes and improvements

Among other things, periodically poll settings back from the camera.
This commit is contained in:
Ingvar Stepanyan
2021-07-08 20:36:44 +00:00
parent 7ab5c04496
commit 5e5d7be282
3 changed files with 144 additions and 75 deletions

View File

@@ -1,7 +1,7 @@
CPPFLAGS += -I $(GPHOTO2PREFIX)/include
libapi.mjs: api.cpp
libtool --verbose --mode=link --tag=CXX $(CC) $+ --bind -s ASYNCIFY -fexceptions -s DYNAMIC_EXECUTION=0 -g -s ASYNCIFY_STACK_SIZE=1048576 -o $@ \
libtool --verbose --mode=link --tag=CXX $(CC) -std=c++17 $+ --bind -s ASYNCIFY -fexceptions -g -s INITIAL_MEMORY=280231936 -s ALLOW_MEMORY_GROWTH -s ASYNCIFY_STACK_SIZE=1048576 -s DYNAMIC_EXECUTION=0 -o $@ \
$(GPHOTO2PREFIX)/lib/libltdl.la \
$(GPHOTO2PREFIX)/lib/libgphoto2.la \
-dlpreopen $(GPHOTO2PREFIX)/lib/libgphoto2/2.5.27.1/ptp2.la \