console: support ESP32-C2 in the 'version' command

This commit is contained in:
Ivan Grokhotkov 2022-07-12 18:01:31 +02:00
parent c0312e3242
commit 0abf886284
No known key found for this signature in database
GPG Key ID: 1E050E141B280628

View File

@ -87,6 +87,9 @@ static int get_version(int argc, char **argv)
case CHIP_ESP32H2:
model = "ESP32-H2";
break;
case CHIP_ESP32C2:
model = "ESP32-C2";
break;
default:
model = "Unknown";
break;