Skip to content

Commit 2ef1558

Browse files
jilaypandyakartben
authored andcommitted
drivers: stepper: add missing include guard
Add missing include guard in drv84xx pubic header Signed-off-by: Jilay Pandya <[email protected]>
1 parent d2f857f commit 2ef1558

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

MAINTAINERS.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2148,6 +2148,7 @@ Release Notes:
21482148
- jbehrensnx
21492149
files:
21502150
- drivers/stepper/
2151+
- include/zephyr/drivers/stepper/
21512152
- include/zephyr/drivers/stepper.h
21522153
- dts/bindings/stepper/
21532154
- doc/hardware/peripherals/stepper.rst

include/zephyr/drivers/stepper/stepper_drv84xx.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
* SPDX-License-Identifier: Apache-2.0
1212
*/
1313

14+
#ifndef ZEPHYR_INCLUDE_DRIVERS_STEPPER_STEPPER_DRV84XX_H_
15+
#define ZEPHYR_INCLUDE_DRIVERS_STEPPER_STEPPER_DRV84XX_H_
16+
1417
#include <stdint.h>
1518
#include <zephyr/drivers/stepper.h>
1619

@@ -31,3 +34,5 @@ int drv84xx_microstep_recovery(const struct device *dev);
3134
#ifdef __cplusplus
3235
}
3336
#endif
37+
38+
#endif /* ZEPHYR_INCLUDE_DRIVERS_STEPPER_STEPPER_DRV84XX_H_ */

0 commit comments

Comments
 (0)