ringbuf_alloc no longer has a long-lived argument

This commit is contained in:
Jeff Epler 2023-08-20 10:07:48 -05:00
parent a3a9c7a098
commit e74ef8b960
No known key found for this signature in database
GPG Key ID: D5BF15AB975AB4DE
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ void common_hal_espnow_init(espnow_obj_t *self) {
}
self->recv_buffer = m_new_obj(ringbuf_t);
if (!ringbuf_alloc(self->recv_buffer, self->recv_buffer_size, true)) {
if (!ringbuf_alloc(self->recv_buffer, self->recv_buffer_size /*, true*/)) {
m_malloc_fail(self->recv_buffer_size);
}