From 06e352dc1938cc69a2c2e6861e30bc878636bd98 Mon Sep 17 00:00:00 2001 From: s-hadinger <49731213+s-hadinger@users.noreply.github.com> Date: Tue, 26 Mar 2024 22:23:37 +0100 Subject: [PATCH] Berry added `close()` to class `serial` (#21042) --- CHANGELOG.md | 1 + lib/libesp32/berry_tasmota/src/be_serial_lib.c | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a6e56f500..fd1eeb17c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ All notable changes to this project will be documented in this file. - Zigbee support for attributes of type `uint48` used by energy monitoring (#20992) - Support for EU863-870 LoRaWanBridge - Added GPIO for SPI for Universal Touch Screen +- Berry added `close()` to class `serial` ### Breaking Changed diff --git a/lib/libesp32/berry_tasmota/src/be_serial_lib.c b/lib/libesp32/berry_tasmota/src/be_serial_lib.c index 183d7696e..01dfa3dcc 100644 --- a/lib/libesp32/berry_tasmota/src/be_serial_lib.c +++ b/lib/libesp32/berry_tasmota/src/be_serial_lib.c @@ -84,6 +84,7 @@ class be_class_serial (scope: global, name: serial) { init, func(b_serial_init) deinit, func(b_serial_deinit) + close, func(b_serial_deinit) write, func(b_serial_write) read, func(b_serial_read)