comparison Bootloader/dfu.h @ 341:66eccdd9ced5

Code cleanup - Changing header file ifndef define to pragma once's - Removed duplicate output_com.h's
author Jacob Alexander <haata@kiibohd.com>
date Sun, 14 Jun 2015 13:56:56 -0700
parents 795cc567b018
children
comparison
equal deleted inserted replaced
340:e8841d3c6db5 341:66eccdd9ced5
13 * 13 *
14 * You should have received a copy of the GNU General Public License 14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>. 15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
16 */ 16 */
17 17
18 #ifndef _USB_DFU_H 18 #pragma once
19 #define _USB_DFU_H
20 19
21 // ----- Compiler Includes ----- 20 // ----- Compiler Includes -----
22 21
23 #include <sys/types.h> 22 #include <sys/types.h>
24 23
169 168
170 void dfu_write_done( enum dfu_status, struct dfu_ctx *ctx ); 169 void dfu_write_done( enum dfu_status, struct dfu_ctx *ctx );
171 void dfu_init( dfu_setup_read_t setup_read, dfu_setup_write_t setup_write, dfu_finish_write_t finish_write, struct dfu_ctx *ctx ); 170 void dfu_init( dfu_setup_read_t setup_read, dfu_setup_write_t setup_write, dfu_finish_write_t finish_write, struct dfu_ctx *ctx );
172 void dfu_app_init( dfu_detach_t detachcb ); 171 void dfu_app_init( dfu_detach_t detachcb );
173 172
174 #endif