Skip to content

Commit f9348d2

Browse files
committed
[VIDOR] Let the library call enableFpgaClock
1 parent 423c29a commit f9348d2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

variants/mkrvidor/variant.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,10 +215,13 @@ void initVariant() {
215215
#if defined(USE_BQ24195L_PMIC)
216216
enable_battery_charging();
217217
#endif
218+
}
218219

219-
// TODO: move to the FPGA library?
220+
void enableFpgaClock() {
221+
// Will be called by the Vidor library begin()
220222
pinPeripheral(30, PIO_AC_CLK);
221223
clockout(0, 1);
224+
delay(1000);
222225
}
223226

224227
// Multi-serial objects instantiation

0 commit comments

Comments
 (0)