Skip to content

Commit

Permalink
Remove forgotten user_ functions
Browse files Browse the repository at this point in the history
  • Loading branch information
dzarda authored Sep 28, 2021
1 parent b588835 commit 2d733af
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/bootloader.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
#include <stdint.h>
#include <stdbool.h>
#include <stddef.h>
#include "bootloader.h"
#include "config.h"
#include "stm32.h"
#include "usb.h"
Expand Down Expand Up @@ -307,17 +306,9 @@ static void dfu_init (void) {
usbd_connect(&dfu, 1);
}

void __attribute__ ((weak)) user_init() {
}

void __attribute__ ((weak)) user_poll() {
}

int main (void) {
dfu_init();
user_init();
while(1) {
usbd_poll(&dfu);
user_poll();
}
}

0 comments on commit 2d733af

Please sign in to comment.