File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -239,6 +239,9 @@ private Model LoadModel()
239
239
case 0x1041 :
240
240
return Model . B2 ;
241
241
242
+ case 0x2082 :
243
+ return Model . B3 ;
244
+
242
245
default :
243
246
return Model . Unknown ;
244
247
}
@@ -259,6 +262,7 @@ private ConnectorPinout LoadConnectorPinout()
259
262
case Model . ComputeModule :
260
263
case Model . APlus :
261
264
case Model . B2 :
265
+ case Model . B3 :
262
266
return ConnectorPinout . Plus ;
263
267
264
268
default :
Original file line number Diff line number Diff line change @@ -46,7 +46,12 @@ public enum Model
46
46
/// <summary>
47
47
/// Pi 2 Model B.
48
48
/// </summary>
49
- B2
49
+ B2 ,
50
+
51
+ /// <summary>
52
+ /// Pi 3 Model B.
53
+ /// </summary>
54
+ B3
50
55
}
51
56
52
57
/// <summary>
@@ -79,6 +84,8 @@ public static string GetDisplayName(this Model model)
79
84
return "Raspberry Pi Compute Module" ;
80
85
case Model . B2 :
81
86
return "Raspberry Pi 2 Model B" ;
87
+ case Model . B3 :
88
+ return "Raspberry Pi 3 Model B" ;
82
89
83
90
default :
84
91
throw new ArgumentOutOfRangeException ( "model" ) ;
You can’t perform that action at this time.
0 commit comments