Commit 5d37dde9 authored by Andrey Filippov's avatar Andrey Filippov

added .depend

parent bcfee1c0
......@@ -6,6 +6,7 @@ attic/*
/.externalToolBuilders
/.settings
.directory
.depend
generated*
sysroots
bitbake-logs
......
......@@ -34,6 +34,11 @@ install: $(PROGS) $(PHPCLI) $(CONFIGS)
clean:
rm -rf $(PROGS) *.o core
#TODO: implement automatic dependencies!
imgsrv.c:$(STAGING_DIR_HOST)/usr/include-uapi/elphel/x393_devices.h
depend: .depend
.depend: $(SRCS)
rm -f ./.depend
$(CC) $(CFLAGS) -MM $^ > ./.depend;
include .depend
\ No newline at end of file
......@@ -1349,8 +1349,10 @@ void listener_loop(struct file_set *fset)
(lseek(fset->circbuf_fd, LSEEK_CIRC_VALID, SEEK_END) >= 0)) // test valid once again, after not ready - it might change
this_p = lseek(fset->circbuf_fd, LSEEK_CIRC_WAIT, SEEK_END);
} else if (strcmp(cp1, "trig") == 0) {
if (fset->framepars_dev_fd < 0)
fset->framepars_dev_fd = open(fset->framepars_dev_name, O_RDWR);
lseek(fset->framepars_dev_fd, LSEEK_DMA_INIT, SEEK_END ); // LSEEK_DMA_INIT is currently used as trigger restart in NC393
fprintf(stderr, "Retriggering camera\n", cp1);
fprintf(stderr, "Retriggering camera : lseek 0x%x, SEEK_END\n", LSEEK_DMA_INIT);
} else if (strcmp(cp1, "favicon.ico") == 0) {
// ignore silently - for now, later make an icon?
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment