Skip to content

Commit

Permalink
S3: Fix the number of GPIO pins (#898)
Browse files Browse the repository at this point in the history
  • Loading branch information
bugadani authored Nov 3, 2023
1 parent 9f0d384 commit 111d006
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed

- ESP32-C2/C3 examples: fix build error (#899)
- ESP32-S3: Fix GPIO interrupt handler crashing when using GPIO48. (#898)

### Removed

Expand Down
2 changes: 1 addition & 1 deletion esp-hal-common/src/soc/esp32s3/gpio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ use crate::{
peripherals::GPIO,
};

pub const NUM_PINS: usize = 48;
pub const NUM_PINS: usize = 49;

pub type OutputSignalType = u16;
pub const OUTPUT_SIGNAL_MAX: u16 = 256;
Expand Down

0 comments on commit 111d006

Please sign in to comment.