Skip to content

Commit a23db60

Browse files
authored
Fix check of ESP32-S3 version (#237)
1 parent 0eaf0fc commit a23db60

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

nanoFirmwareFlasher.Library/Esp32Operations.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,13 +278,14 @@ public static async System.Threading.Tasks.Task<ExitCodes> UpdateFirmwareAsync(
278278
{
279279
// version schema for ESP32-S3
280280
//Previously Used Schemes | Previous Identification | vM.X
281+
// V000 | n/a | v0.0
281282
// V001 | 0 (bug in logs) | v0.1
282283
// V002 | n/a | v0.2
283284

284285
string revisionSuffix;
285286

286287
// so far we are only offering a single ESP32_S3 build
287-
if (esp32Device.ChipName.Contains("revision 0.1") || esp32Device.ChipName.Contains("revision 0.2"))
288+
if (esp32Device.ChipName.Contains("revision 0.0") || esp32Device.ChipName.Contains("revision 0.1") || esp32Device.ChipName.Contains("revision 0.2"))
288289
{
289290
revisionSuffix = "";
290291
}

0 commit comments

Comments
 (0)