Skip to content

Commit e9c1f8d

Browse files
author
Abhijit A. Mahajani
authored
Merge pull request #21 from mayank-sirotiya-imgtec/fixups
platform/mikro-e/dev: minor fixes in motion-click and relay-click test app and driver
2 parents bb4e4ba + 0ff7672 commit e9c1f8d

File tree

4 files changed

+6
-10
lines changed

4 files changed

+6
-10
lines changed

platform/mikro-e/apps/test-motion/Makefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
CONTIKI_PROJECT = test-motion
22
CONTIKI = ../../../..
33

4-
MOTION_CLICK = motion-click
5-
64
CFLAGS += -DMOTION_CLICK
75

86
APPS += motion-click

platform/mikro-e/apps/test-relay/Makefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
CONTIKI_PROJECT = test-relay
22
CONTIKI = ../../../..
33

4-
RELAY_CLICK = relay-click
5-
64
CFLAGS += -DRELAY_CLICK
75

86
APPS += relay-click

platform/mikro-e/dev/motion-click/motion-click.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@
3636
*
3737
*/
3838

39-
#ifndef __MOTION_SENSOR_H__
40-
#define __MOTION_SENSOR_H__
39+
#ifndef __MOTION_CLICK_H__
40+
#define __MOTION_CLICK_H__
4141

4242
#include <pic32_gpio.h>
4343

@@ -88,4 +88,4 @@ void motion_sensor_isr(void);
8888

8989
extern const struct sensors_sensor motion_sensor;
9090

91-
#endif /* __MOTION_SENSOR_H__ */
91+
#endif /* __MOTION_CLICK_H__ */

platform/mikro-e/dev/relay-click/relay-click.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@
3737
* http://www.mikroe.com/click/relay/
3838
*/
3939

40-
#ifndef RELAY_CLICK_H_
41-
#define RELAY_CLICK_H_
40+
#ifndef __RELAY_CLICK_H__
41+
#define __RELAY_CLICK_H__
4242

4343
typedef enum
4444
{
@@ -51,4 +51,4 @@ void relay_on(Relay relay_num);
5151
void relay_off(Relay relay_num);
5252
void relay_toggle(Relay relay_num);
5353

54-
#endif /* RELAY_CLICK_H_ */
54+
#endif /* __RELAY_CLICK_H__ */

0 commit comments

Comments
 (0)