File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -239,6 +239,10 @@ private Model LoadModel()
239
239
case 0x1041 :
240
240
return Model . B2 ;
241
241
242
+ case 0x0092 :
243
+ case 0x0093 :
244
+ return Model . Zero ;
245
+
242
246
case 0x2082 :
243
247
return Model . B3 ;
244
248
@@ -262,6 +266,7 @@ private ConnectorPinout LoadConnectorPinout()
262
266
case Model . ComputeModule :
263
267
case Model . APlus :
264
268
case Model . B2 :
269
+ case Model . Zero :
265
270
case Model . B3 :
266
271
return ConnectorPinout . Plus ;
267
272
Original file line number Diff line number Diff line change @@ -48,6 +48,11 @@ public enum Model
48
48
/// </summary>
49
49
B2 ,
50
50
51
+ /// <summary>
52
+ /// Pi Zero.
53
+ /// </summary>
54
+ Zero ,
55
+
51
56
/// <summary>
52
57
/// Pi 3 Model B.
53
58
/// </summary>
@@ -84,6 +89,8 @@ public static string GetDisplayName(this Model model)
84
89
return "Raspberry Pi Compute Module" ;
85
90
case Model . B2 :
86
91
return "Raspberry Pi 2 Model B" ;
92
+ case Model . Zero :
93
+ return "Raspberry Pi Zero" ;
87
94
case Model . B3 :
88
95
return "Raspberry Pi 3 Model B" ;
89
96
You can’t perform that action at this time.
0 commit comments