kopia lustrzana https://github.com/PiInTheSky/lora-gateway
Fixed .gitignore - was including object files
rodzic
3bc4b5bfa9
commit
87e11f9804
|
@ -1,6 +1,6 @@
|
|||
.dropbox
|
||||
desktop.ini
|
||||
.o
|
||||
*.o
|
||||
*.jpg
|
||||
*.bin
|
||||
|
||||
gateway
|
||||
|
|
3
ssdv.c
3
ssdv.c
|
@ -33,6 +33,9 @@ void ConvertFile(char *FileName)
|
|||
sprintf(CommandLine, "ssdv -d /tmp/%s %s 2> /dev/null > /dev/null", FileName, TargetFile);
|
||||
system(CommandLine);
|
||||
|
||||
// Upload to balloon.photos
|
||||
sprintf(CommandLine, "curl -T %s ftp.daveakerman.com -Q \"TYPE I\" --user balloon@daveakerman.com:pi-in-the-sky 2> /dev/null > /dev/null", TargetFile);
|
||||
system(CommandLine);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue