Skip to content

Commit d81ee4f

Browse files
committed
Add disableFpgaClock function
1 parent 18bcded commit d81ee4f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

variants/mkrvidor/variant.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,13 @@ void enableFpgaClock() {
224224
delay(1000);
225225
}
226226

227+
void disableFpgaClock() {
228+
// Will be called by the Vidor library end()
229+
pinPeripheral(30, PIO_INPUT);
230+
//clockout(0, 1);
231+
delay(1000);
232+
}
233+
227234
// Multi-serial objects instantiation
228235
SERCOM sercom0(SERCOM0);
229236
SERCOM sercom1(SERCOM1);

0 commit comments

Comments
 (0)