Do UUID init globally. Increase firmware version
This commit is contained in:
parent
61cefa411c
commit
b504bc9ed7
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue