Hi All,
I have a question that when BLE connected it will show an error.

Accroding to the error,it show main.c : 163 have problem.

This is a characteristic in my custom service,I want it to use notify,so I reference battery service code.
Can anyone help me to review code?
SDK : 17.1.0
IDE : Segger
The attachment is my project, which contains customer service Header & C source