File tree Expand file tree Collapse file tree 1 file changed +1
-20
lines changed
nanoFirmwareFlasher.Library Expand file tree Collapse file tree 1 file changed +1
-20
lines changed Original file line number Diff line number Diff line change @@ -240,31 +240,12 @@ public static async System.Threading.Tasks.Task<ExitCodes> UpdateFirmwareAsync(
240240 }
241241 else if ( esp32Device . ChipType == "ESP32-S3" )
242242 {
243- string revisionSuffix ;
244-
245- if ( esp32Device . ChipName . Contains ( "revision 3" ) || esp32Device . ChipName . Contains ( "revision 4" ) )
246- {
247- // all the others (rev3 and rev4) will take rev3
248- revisionSuffix = "_REV3" ;
249- }
250- else
251- {
252- Console . ForegroundColor = ConsoleColor . Red ;
253-
254- Console . WriteLine ( "" ) ;
255- Console . WriteLine ( $ "Unsupported ESP32_S3 revision.") ;
256- Console . WriteLine ( "" ) ;
257-
258- Console . ForegroundColor = ConsoleColor . White ;
259-
260- return ExitCodes . E9000 ;
261- }
243+ // ESP32_S3 has only one revision
262244
263245 // compose target name
264246 targetName = $ "ESP32_S3";
265247 }
266248
267-
268249 Console . ForegroundColor = ConsoleColor . Blue ;
269250
270251 Console . WriteLine ( "" ) ;
You can’t perform that action at this time.
0 commit comments