Don't require importing macro for esp-config (#2630)

This commit is contained in:
Dániel Buga 2024-12-02 09:03:46 +01:00 committed by GitHub
parent 2d87bb0002
commit 2d3fdeb876
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View File

@ -11,6 +11,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
- Users no longer have to manually import `esp_config_int_parse`. (#2630)
### Changed
### Removed

View File

@ -29,7 +29,7 @@ macro_rules! esp_config_int {
( $ty:ty, $var:expr ) => {
const {
const BYTES: &[u8] = env!($var).as_bytes();
esp_config_int_parse!($ty, BYTES)
$crate::esp_config_int_parse!($ty, BYTES)
}
};
}