diff --git a/flashstub/stub.h b/flashstub/stub.h index d279cf3..b837bae 100644 --- a/flashstub/stub.h +++ b/flashstub/stub.h @@ -20,7 +20,7 @@ #ifndef __STUB_H #define __STUB_H -static inline __attribute__((always_inline)) +static inline void __attribute__((always_inline)) stub_exit(const int code) { asm("bkpt %0"::"i"(code));