Skip to content

Commit

Permalink
fix(hdr): Apply header guard syntax LWxxx_module_HDR_H
Browse files Browse the repository at this point in the history
  • Loading branch information
MaJerle committed Dec 18, 2022
1 parent c8f1417 commit 360d3fe
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions lwow/src/include/lwow/devices/lwow_device_ds18x20.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
* Author: Tilen MAJERLE <tilen@majerle.eu>
* Version: v3.0.2
*/
#ifndef LWOW_HDR_DEVICE_DS18x20_H
#define LWOW_HDR_DEVICE_DS18x20_H
#ifndef LWOW_DEVICE_DS18x20_HDR_H
#define LWOW_DEVICE_DS18x20_HDR_H

#include "lwow/lwow.h"

Expand Down Expand Up @@ -84,4 +84,4 @@ uint8_t lwow_ds18x20_is_s(lwow_t* const ow, const lwow_rom_t* const rom_id);
}
#endif /* __cplusplus */

#endif /* LWOW_HDR_DEVICE_DS18x20_H */
#endif /* LWOW_DEVICE_DS18x20_HDR_H */
6 changes: 3 additions & 3 deletions lwow/src/include/lwow/lwow_opt.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
* Author: Tilen MAJERLE <tilen@majerle.eu>
* Version: v3.0.2
*/
#ifndef LWOW_HDR_OPT_H
#define LWOW_HDR_OPT_H
#ifndef LWOW_OPT_HDR_H
#define LWOW_OPT_HDR_H

/* Uncomment to ignore user options (or set macro in compiler flags) */
/* #define LWOW_IGNORE_USER_OPTS */
Expand Down Expand Up @@ -80,4 +80,4 @@ extern "C" {
}
#endif /* __cplusplus */

#endif /* LWOW_HDR_OPT_H */
#endif /* LWOW_OPT_HDR_H */
6 changes: 3 additions & 3 deletions lwow/src/include/lwow/lwow_opts_template.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
* Author: Tilen MAJERLE <tilen@majerle.eu>
* Version: v3.0.2
*/
#ifndef LWOW_HDR_OPTS_H
#define LWOW_HDR_OPTS_H
#ifndef LWOW_OPTS_HDR_H
#define LWOW_OPTS_HDR_H

/* Rename this file to "lwow_opts.h" for your application */

Expand All @@ -41,4 +41,4 @@
* copy & replace here settings you want to change values
*/

#endif /* LWOW_HDR_OPTS_H */
#endif /* LWOW_OPTS_HDR_H */
6 changes: 3 additions & 3 deletions lwow/src/include/system/lwow_sys.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
* Author: Tilen MAJERLE <tilen@majerle.eu>
* Version: v3.0.2
*/
#ifndef LWOW_HDR_SYS_H
#define LWOW_HDR_SYS_H
#ifndef LWOW_SYS_HDR_H
#define LWOW_SYS_HDR_H

#include <stddef.h>
#include <stdint.h>
Expand Down Expand Up @@ -92,4 +92,4 @@ uint8_t lwow_sys_mutex_release(LWOW_CFG_OS_MUTEX_HANDLE* mutex, void* arg);
}
#endif /* __cplusplus */

#endif /* LWOW_HDR_SYS_H */
#endif /* LWOW_SYS_HDR_H */

0 comments on commit 360d3fe

Please sign in to comment.