Save watch_for_interrupt_char to espressif too

This commit is contained in:
Scott Shawcroft 2023-01-19 10:28:56 -08:00
parent dca66eb98c
commit 8f9d1e241d
No known key found for this signature in database
GPG Key ID: 0DFD512649C052DA
1 changed files with 1 additions and 0 deletions

View File

@ -85,6 +85,7 @@ void _common_hal_bleio_characteristic_buffer_construct(bleio_characteristic_buff
bool watch_for_interrupt_char) { bool watch_for_interrupt_char) {
self->characteristic = characteristic; self->characteristic = characteristic;
self->timeout_ms = timeout * 1000; self->timeout_ms = timeout * 1000;
self->watch_for_interrupt_char = watch_for_interrupt_char;
ringbuf_init(&self->ringbuf, buffer, buffer_size); ringbuf_init(&self->ringbuf, buffer, buffer_size);
if (static_handler_entry != NULL) { if (static_handler_entry != NULL) {