Skip to content

Commit

Permalink
fix compiler warning of implicit declaration
Browse files Browse the repository at this point in the history
Fixes:

src/usb.c:330:8: error: implicit declaration of function 'reboot_into_bootloader' [-Werror=implicit-function-declaration]
  • Loading branch information
anthonybest authored and mach327 committed Jun 19, 2018
1 parent 4e123d4 commit 9d09699
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions applet/src/usb.c
Expand Up @@ -34,6 +34,7 @@
#include "keyb.h"
#include "stm32f4xx_flash.h"

void reboot_into_bootloader();

int usb_upld_hook(void* iface, char *packet, int bRequest, int something){
/* This hooks the USB Device Firmware Update upload function,
Expand Down

0 comments on commit 9d09699

Please sign in to comment.