Skip to content

Commit 3316443

Browse files
committed
Extra info about setBoardModel
1 parent 94e06fd commit 3316443

1 file changed

Lines changed: 22 additions & 22 deletions

File tree

content/documentation/board-info.md

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -123,28 +123,28 @@ var pi4j = Pi4J.newContextBuilder()
123123
Two generic boards where created for this use-case, but of course, you can also use one of the other [BoardModel](https://github.com/Pi4J/pi4j/blob/develop/pi4j-core/src/main/java/com/pi4j/boardinfo/definition/BoardModel.java) enum values.
124124

125125
```java
126-
// Generic model, this can be used to force the library
127-
// to load Raspberry Pi plugins on other board types
128-
GENERIC("Generic board compatible with Raspberry Pi 4", SINGLE_BOARD_COMPUTER,
129-
new ArrayList<>(),
130-
PiModel.MODEL_B,
131-
HeaderVersion.TYPE_3,
132-
LocalDate.now(),
133-
Soc.UNKNOWN,
134-
Cpu.UNKNOWN, 4,
135-
new ArrayList<>(),
136-
new ArrayList<>()),
137-
GENERIC_RP1("Generic board compatible with Raspberry Pi 5", SINGLE_BOARD_COMPUTER,
138-
new ArrayList<>(),
139-
PiModel.MODEL_B,
140-
HeaderVersion.TYPE_3,
141-
LocalDate.now(),
142-
Soc.UNKNOWN,
143-
Cpu.UNKNOWN, 4,
144-
new ArrayList<>(),
145-
new ArrayList<>(),
146-
new ArrayList<>(),
147-
true),
126+
// Generic model, this can be used to force the library
127+
// to load Raspberry Pi plugins on other board types
128+
GENERIC("Generic board compatible with Raspberry Pi 4", SINGLE_BOARD_COMPUTER,
129+
new ArrayList<>(),
130+
PiModel.MODEL_B,
131+
HeaderVersion.TYPE_3,
132+
LocalDate.now(),
133+
Soc.UNKNOWN,
134+
Cpu.UNKNOWN, 4,
135+
new ArrayList<>(),
136+
new ArrayList<>()),
137+
GENERIC_RP1("Generic board compatible with Raspberry Pi 5", SINGLE_BOARD_COMPUTER,
138+
new ArrayList<>(),
139+
PiModel.MODEL_B,
140+
HeaderVersion.TYPE_3,
141+
LocalDate.now(),
142+
Soc.UNKNOWN,
143+
Cpu.UNKNOWN, 4,
144+
new ArrayList<>(),
145+
new ArrayList<>(),
146+
new ArrayList<>(),
147+
true),
148148
```
149149

150150

0 commit comments

Comments
 (0)