From 1616917a511d04e12a45f7acfddea37c5975ed12 Mon Sep 17 00:00:00 2001 From: Sandeep Mistry Date: Thu, 19 Jan 2017 10:14:44 -0500 Subject: [PATCH] Remove SDUClass and SDU instance --- libraries/SDU/keywords.txt | 2 -- libraries/SDU/src/SDU.cpp | 12 ------------ libraries/SDU/src/SDU.h | 9 +-------- 3 files changed, 1 insertion(+), 22 deletions(-) diff --git a/libraries/SDU/keywords.txt b/libraries/SDU/keywords.txt index 84eb9d28..a9db990e 100644 --- a/libraries/SDU/keywords.txt +++ b/libraries/SDU/keywords.txt @@ -12,8 +12,6 @@ SDU KEYWORD1 # Methods and Functions (KEYWORD2) ####################################### -reset KEYWORD2 - ####################################### # Constants (LITERAL1) ####################################### diff --git a/libraries/SDU/src/SDU.cpp b/libraries/SDU/src/SDU.cpp index 005c4669..984687ca 100644 --- a/libraries/SDU/src/SDU.cpp +++ b/libraries/SDU/src/SDU.cpp @@ -32,15 +32,3 @@ unsigned char sduBoot[0x4000] = { #error "Unsupported board!" #endif }; - -SDUClass::SDUClass() { -} - -void SDUClass::reset() { - // Reset the device - NVIC_SystemReset() ; - - while (true); -} - -SDUClass SDU; diff --git a/libraries/SDU/src/SDU.h b/libraries/SDU/src/SDU.h index 448c2a55..59fcc16f 100644 --- a/libraries/SDU/src/SDU.h +++ b/libraries/SDU/src/SDU.h @@ -19,13 +19,6 @@ #ifndef _SDU_H_INCLUDED #define _SDU_H_INCLUDED -class SDUClass { -public: - SDUClass(); - - void reset(); -}; - -extern SDUClass SDU; +// nothing for now #endif