Add some comment headers in my libraries

This commit is contained in:
2022-12-25 13:13:50 +01:00
parent c945299d76
commit faac725069
3 changed files with 21 additions and 6 deletions

View File

@@ -2,6 +2,12 @@
#include <stdint.h>
#include "debug.h"
/*
* TimeLib
* Based on the Time library by Michael Margolis (make and break time functions)
* Additions by: Sani7 (Sander Speetjens)
*/
// to transform a number of seconds into a current time you need to do some maths
#define NUMBEROFSECONDSPERDAY 86400UL
#define NUMBEROFSECONDSPERHOUR 3600UL

View File

@@ -1,7 +1,9 @@
/* An STM32 HAL library written for the DS3231 real-time clock IC. */
/* Based on a Library by @eepj www.github.com/eepj */
/* Moddifications by Sani7 */
/* An STM32 HAL library written for the DS3231 real-time clock IC.
* Based on a Library by @eepj www.github.com/eepj
* Moddifications by Sani7
*/
#ifndef DS3231_FOR_STM32_HAL_H
#define DS3231_FOR_STM32_HAL_H
#include "main.h"