Do UUID init globally. Increase firmware version

This commit is contained in:
Stefan `Sec` Zehl 2012-04-03 14:24:22 +02:00
parent 61cefa411c
commit b504bc9ed7
2 changed files with 2 additions and 7 deletions

View File

@ -36,16 +36,10 @@ uint32_t initUUID(void){
};
uint32_t GetUUID32(void){
if(uuid32==0){
initUUID();
};
return uuid32;
};
uint16_t GetUUID16(void){
if(uuid32==0){
initUUID();
};
return uuid16;
};

View File

@ -50,6 +50,7 @@ void main(void) {
// initialise basic badge functions
rbInit();
initUUID(); // Cache UUID values.
lcdInit(); // display
@ -80,5 +81,5 @@ void main(void) {
}
int getrelease(void){
return 0x0000010d;
return 0x0000010e;
};