Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
arduino-esp32
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
arduino-esp32
Commits
0539ebf3
Unverified
Commit
0539ebf3
authored
Aug 26, 2024
by
Me No Dev
Committed by
GitHub
Aug 26, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(chip): Return correct ESP32 chip model (#10243)
parent
dbdb4028
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
cores/esp32/Esp.cpp
cores/esp32/Esp.cpp
+2
-2
No files found.
cores/esp32/Esp.cpp
View file @
0539ebf3
...
...
@@ -262,13 +262,13 @@ const char *EspClass::getChipModel(void) {
uint32_t
pkg_ver
=
chip_ver
&
0x7
;
switch
(
pkg_ver
)
{
case
EFUSE_RD_CHIP_VER_PKG_ESP32D0WDQ6
:
if
(
getChipRevision
(
)
==
3
)
{
if
(
(
getChipRevision
()
/
100
)
==
3
)
{
return
"ESP32-D0WDQ6-V3"
;
}
else
{
return
"ESP32-D0WDQ6"
;
}
case
EFUSE_RD_CHIP_VER_PKG_ESP32D0WDQ5
:
if
(
getChipRevision
(
)
==
3
)
{
if
(
(
getChipRevision
()
/
100
)
==
3
)
{
return
"ESP32-D0WD-V3"
;
}
else
{
return
"ESP32-D0WD"
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment