mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-24 11:46:34 +00:00
Improve model reporting
This commit is contained in:
parent
3a6b8d5605
commit
7c966e7a2d
@ -126,7 +126,10 @@ String halGetChipModel()
|
||||
{
|
||||
String model((char *)0);
|
||||
model.reserve(128);
|
||||
|
||||
#if defined(STM32F4xx)
|
||||
model = F("STM32");
|
||||
#endif
|
||||
|
||||
#if ESP8266
|
||||
model = F("ESP8266");
|
||||
@ -148,7 +151,7 @@ String halGetChipModel()
|
||||
break;
|
||||
#endif
|
||||
default:
|
||||
model = F("Unknown ESP");
|
||||
model = F("Unknown ESP32");
|
||||
}
|
||||
model += F(" rev");
|
||||
model += chip_info.revision;
|
||||
|
Loading…
x
Reference in New Issue
Block a user