Skip to content

Commit 10dcd11

Browse files
aykevldeadprogram
authored andcommitted
nrf51: fix assertHandler function signature
Not using the right signature led to a compiler crash. The compiler should probably be fixed in this case (to report an error instead), but this at least fixes the issue.
1 parent 28f9f4e commit 10dcd11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adapter_nrf51.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ package bluetooth
1111
#include "ble.h"
1212
#include "ble_gap.h"
1313
14-
void assertHandler(void);
14+
void assertHandler(uint32_t pc, uint16_t line_number, const uint8_t * p_file_name);
1515
*/
1616
import "C"
1717

0 commit comments

Comments
 (0)