From 1ec4775be64dae97bac1f2195321df7262273fd4 Mon Sep 17 00:00:00 2001 From: zedamota Date: Thu, 8 Apr 2010 20:32:52 +0000 Subject: [PATCH] Added license info git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@443 ebee16cc-31ac-478f-84a7-5cbb03baadba --- ground/src/libs/qymodem/src/qymodem.cpp | 16 +++++++++++++++- ground/src/libs/qymodem/src/qymodem.h | 16 +++++++++++++++- ground/src/libs/qymodem/src/qymodem_TX.cpp | 16 +++++++++++++++- ground/src/libs/qymodem/src/qymodem_TX.h | 15 +++++++++++++++ ground/src/libs/qymodem/src/qymodemsend.cpp | 19 ++++++++++++++++--- ground/src/libs/qymodem/src/qymodemsend.h | 16 ++++++++++++++++ 6 files changed, 92 insertions(+), 6 deletions(-) diff --git a/ground/src/libs/qymodem/src/qymodem.cpp b/ground/src/libs/qymodem/src/qymodem.cpp index 0ade27bb8..ff041ce13 100644 --- a/ground/src/libs/qymodem/src/qymodem.cpp +++ b/ground/src/libs/qymodem/src/qymodem.cpp @@ -1,4 +1,18 @@ - +/* + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY + * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ /** @file diff --git a/ground/src/libs/qymodem/src/qymodem.h b/ground/src/libs/qymodem/src/qymodem.h index 9a2dc72a6..ef314a864 100644 --- a/ground/src/libs/qymodem/src/qymodem.h +++ b/ground/src/libs/qymodem/src/qymodem.h @@ -1,4 +1,18 @@ - +/* + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY + * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ #ifndef YMODEM_H #define YMODEM_H diff --git a/ground/src/libs/qymodem/src/qymodem_TX.cpp b/ground/src/libs/qymodem/src/qymodem_TX.cpp index 2f00b928e..4d3864e9e 100644 --- a/ground/src/libs/qymodem/src/qymodem_TX.cpp +++ b/ground/src/libs/qymodem/src/qymodem_TX.cpp @@ -1,4 +1,18 @@ - +/* + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY + * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ /** @file diff --git a/ground/src/libs/qymodem/src/qymodem_TX.h b/ground/src/libs/qymodem/src/qymodem_TX.h index d3f9b36ea..e2218f79a 100644 --- a/ground/src/libs/qymodem/src/qymodem_TX.h +++ b/ground/src/libs/qymodem/src/qymodem_TX.h @@ -1,3 +1,18 @@ +/* + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY + * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ /** @file diff --git a/ground/src/libs/qymodem/src/qymodemsend.cpp b/ground/src/libs/qymodem/src/qymodemsend.cpp index 932962df1..aa8db8874 100644 --- a/ground/src/libs/qymodem/src/qymodemsend.cpp +++ b/ground/src/libs/qymodem/src/qymodemsend.cpp @@ -1,3 +1,19 @@ +/* + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY + * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #include "qymodemsend.h" @@ -82,9 +98,6 @@ public: int In(char* data, size_t size, int * percent) { *percent = TotalSize ? ((uint64_t)TransferredSize*(uint64_t)100)/(uint64_t)TotalSize : 0; - - //printf("%8d bytes of %d - %3d%%\r",TransferredSize, TotalSize, percent); - fflush(stdout); size=fread(data,sizeof(uint8_t),size,File); if(size) diff --git a/ground/src/libs/qymodem/src/qymodemsend.h b/ground/src/libs/qymodem/src/qymodemsend.h index ca2eedb05..10c6d4555 100644 --- a/ground/src/libs/qymodem/src/qymodemsend.h +++ b/ground/src/libs/qymodem/src/qymodemsend.h @@ -1,3 +1,19 @@ +/* + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY + * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #ifndef QYMODEMSEND_H #define QYMODEMSEND_H #include "qymodem_TX.h"