Fix initUUID() prototype and add it to the .h
This commit is contained in:
parent
524dbf1b91
commit
7ac2394a61
|
@ -30,7 +30,7 @@ static uint16_t __GetUUID16(void){
|
||||||
return crc16 ((uint8_t *) iap_return.Result, sizeof (iap_return.Result));
|
return crc16 ((uint8_t *) iap_return.Result, sizeof (iap_return.Result));
|
||||||
};
|
};
|
||||||
|
|
||||||
uint32_t initUUID(void){
|
void initUUID(void){
|
||||||
uuid32=__GetUUID32();
|
uuid32=__GetUUID32();
|
||||||
uuid16=__GetUUID16();
|
uuid16=__GetUUID16();
|
||||||
};
|
};
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
uint32_t GetUUID32(void);
|
uint32_t GetUUID32(void);
|
||||||
|
void initUUID(void);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue