Remove SDUClass and SDU instance

This commit is contained in:
Sandeep Mistry 2017-01-19 10:14:44 -05:00
parent a15d190ada
commit 1616917a51
3 changed files with 1 additions and 22 deletions

View file

@ -12,8 +12,6 @@ SDU KEYWORD1
# Methods and Functions (KEYWORD2)
#######################################
reset KEYWORD2
#######################################
# Constants (LITERAL1)
#######################################

View file

@ -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;

View file

@ -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