Skip to content

Commit aca3489

Browse files
committed
Fix ESP32 gpio driver error returns to match spec
Changes error returns to match the spec and ofther platforms. Nifs now raise any errors, and port function errors return `{error, Reason}`. Closes #894 Signed-off-by: Winford <winford@object.stream>
1 parent f61de80 commit aca3489

File tree

2 files changed

+121
-60
lines changed

2 files changed

+121
-60
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111
- Added `code:all_loaded/0` and `code:all_available/0`
1212
- Added menuconfig option for enabling USE_USB_SERIAL, eg. serial over USB for certain ESP32-S2 boards etc.
1313

14+
### Fixed
15+
- ESP32 GPIO driver now matches spec for error returns, nifs raise `Error`, port functions return `{error, Reason}`
16+
1417
## [0.6.6] - Unreleased
1518

1619
### Added

0 commit comments

Comments
 (0)