File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ void _common_hal_bleio_packet_buffer_construct(
145145 uint32_t * outgoing_buffer1 ,
146146 uint32_t * outgoing_buffer2 ,
147147 size_t max_packet_size ,
148- ble_event_handler_t static_handler_entry ) {
148+ ble_event_handler_t * static_handler_entry ) {
149149
150150 bleio_characteristic_properties_t temp_prop ;
151151 self -> characteristic = characteristic ;
Original file line number Diff line number Diff line change @@ -60,6 +60,9 @@ void common_hal_mcu_on_next_reset(mcu_runmode_t runmode) {
6060 }
6161}
6262
63+ // CHIP_Reset does not return, but is not declared as such in the SDK.
64+ void __attribute__ ((noreturn )) CHIP_Reset (void );
65+
6366void common_hal_mcu_reset (void ) {
6467 filesystem_flush (); // TODO: implement as part of flash improvements
6568 CHIP_Reset ();
You can’t perform that action at this time.
0 commit comments