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()
239239 case 0x1041 :
240240 return Model . B2 ;
241241
242+ case 0x0092 :
243+ case 0x0093 :
244+ return Model . Zero ;
245+
242246 case 0x2082 :
243247 return Model . B3 ;
244248
@@ -262,6 +266,7 @@ private ConnectorPinout LoadConnectorPinout()
262266 case Model . ComputeModule :
263267 case Model . APlus :
264268 case Model . B2 :
269+ case Model . Zero :
265270 case Model . B3 :
266271 return ConnectorPinout . Plus ;
267272
Original file line number Diff line number Diff line change @@ -48,6 +48,11 @@ public enum Model
4848 /// </summary>
4949 B2 ,
5050
51+ /// <summary>
52+ /// Pi Zero.
53+ /// </summary>
54+ Zero ,
55+
5156 /// <summary>
5257 /// Pi 3 Model B.
5358 /// </summary>
@@ -84,6 +89,8 @@ public static string GetDisplayName(this Model model)
8489 return "Raspberry Pi Compute Module" ;
8590 case Model . B2 :
8691 return "Raspberry Pi 2 Model B" ;
92+ case Model . Zero :
93+ return "Raspberry Pi Zero" ;
8794 case Model . B3 :
8895 return "Raspberry Pi 3 Model B" ;
8996
You can’t perform that action at this time.
0 commit comments