diff options
author | Joey Castillo <joeycastillo@utexas.edu> | 2021-11-24 12:14:17 -0500 |
---|---|---|
committer | Joey Castillo <joeycastillo@utexas.edu> | 2021-11-24 12:14:17 -0500 |
commit | 3a420d5c6cfded6a04f4c78aa98c5d4ae7de8ca1 (patch) | |
tree | 1364472d05920d9bda9d8905201cf3e95cef148a /movement/lib/TOTP-MCU/TOTP.h | |
parent | 4a0ff5577363a1bd315693b41f448e3774de9e34 (diff) | |
download | Sensor-Watch-3a420d5c6cfded6a04f4c78aa98c5d4ae7de8ca1.tar.gz Sensor-Watch-3a420d5c6cfded6a04f4c78aa98c5d4ae7de8ca1.tar.bz2 Sensor-Watch-3a420d5c6cfded6a04f4c78aa98c5d4ae7de8ca1.zip |
add header guards, move declarations to source file
Diffstat (limited to 'movement/lib/TOTP-MCU/TOTP.h')
-rw-r--r-- | movement/lib/TOTP-MCU/TOTP.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/movement/lib/TOTP-MCU/TOTP.h b/movement/lib/TOTP-MCU/TOTP.h index 13715f4d..cfef38b1 100644 --- a/movement/lib/TOTP-MCU/TOTP.h +++ b/movement/lib/TOTP-MCU/TOTP.h @@ -1,3 +1,6 @@ +#ifndef TOTP_H_
+#define TOTP_H_
+
#include <inttypes.h>
#include "time.h"
@@ -6,3 +9,5 @@ void setTimezone(uint8_t timezone); uint32_t getCodeFromTimestamp(uint32_t timeStamp);
uint32_t getCodeFromTimeStruct(struct tm time);
uint32_t getCodeFromSteps(uint32_t steps);
+
+#endif // TOTP_H_
|