2013-10-14 | Paul Boddie | raw annotate files changeset graph | Added support for reading magnetometer calibration data from a file. Added a special signal handler for the calibration program to produce usable data for such a settings file when the program is interrupted. |
1 /* 2 * Common shutdown functionality. 3 * 4 * Copyright (C) 2013 Paul Boddie 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or 9 * (at your option) any later version. 10 */ 11 12 #ifndef __SHUTDOWN_H__ 13 #define __SHUTDOWN_H__ 14 15 void init_shutdown(int signum); 16 17 #endif /* __SHUTDOWN_H__ */