From 9c9d6c153154981fdedbe3f9ed4a1fb61e2b7776 Mon Sep 17 00:00:00 2001 From: Marti Bolivar Date: Tue, 31 Aug 2010 18:28:07 -0400 Subject: added support to enable/disable systick in wirish --- examples/vga-leaf.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'examples') diff --git a/examples/vga-leaf.cpp b/examples/vga-leaf.cpp index 16204ba..d1c6d7d 100644 --- a/examples/vga-leaf.cpp +++ b/examples/vga-leaf.cpp @@ -86,7 +86,6 @@ uint8 logo[18][16] = { {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,}, }; void setup() { - // Setup our pins pinMode(LED_PIN, OUTPUT); pinMode(VGA_R, OUTPUT); @@ -101,9 +100,8 @@ void setup() { digitalWrite(VGA_V, HIGH); // This gets rid of the majority of the interrupt artifacts; - // a SysTick.end() is required as well SerialUSB.end(); - + SystemTick.end(); // Configure Timer4.pause(); // while we configure -- cgit v1.2.3