Skip to content

Commit 98ae78a

Browse files
Merge pull request #28 from mechash/master
Oled API and Support for Pluto IDE Extension
2 parents 59c7fc4 + df3d2bd commit 98ae78a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+1800
-8917
lines changed

Makefile

Lines changed: 360 additions & 748 deletions
Large diffs are not rendered by default.

lib/main/VL53L0X_API/core/src/vl53l0x_api.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*******************************************************************************
2-
Copyright © 2016, STMicroelectronics International N.V.
2+
Copyright 2016, STMicroelectronics International N.V.
33
All rights reserved.
44
55
Redistribution and use in source and binary forms, with or without
@@ -32,9 +32,9 @@
3232
#include "vl53l0x_api_core.h"
3333
#include "vl53l0x_api_calibration.h"
3434
#include "vl53l0x_api_strings.h"
35+
#include <stdlib.h> //DD
3536
/*
3637
#ifndef __KERNEL__
37-
#include <stdlib.h> //DD
3838
#endif
3939
#define LOG_FUNCTION_START(fmt, ...) \
4040
_LOG_FUNCTION_START(TRACE_MODULE_API, fmt, ##__VA_ARGS__)

lib/main/VL53L0X_API/core/src/vl53l0x_api_calibration.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*******************************************************************************
2-
Copyright © 2016, STMicroelectronics International N.V.
2+
Copyright 2016, STMicroelectronics International N.V.
33
All rights reserved.
44
55
Redistribution and use in source and binary forms, with or without
@@ -30,8 +30,8 @@
3030
#include "vl53l0x_api_core.h"
3131
#include "vl53l0x_api_calibration.h"
3232

33-
/* #ifndef __KERNEL__
3433
#include <stdlib.h>
34+
/* #ifndef __KERNEL__
3535
#endif
3636
3737
#define //LOG_FUNCTION_START(fmt, ...) \

lib/main/VL53L0X_API/core/src/vl53l0x_api_core.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*******************************************************************************
2-
Copyright © 2016, STMicroelectronics International N.V.
2+
Copyright 2016, STMicroelectronics International N.V.
33
All rights reserved.
44
55
Redistribution and use in source and binary forms, with or without
@@ -31,8 +31,8 @@
3131
#include "vl53l0x_api_calibration.h"
3232

3333

34-
/* #ifndef __KERNEL__
3534
#include <stdlib.h>
35+
/* #ifndef __KERNEL__
3636
#endif
3737
#define //LOG_FUNCTION_START(fmt, ...) \
3838
////LOG_FUNCTION_START(TRACE_MODULE_API, fmt, ##__VA_ARGS__)

lib/main/VL53L0X_API/core/src/vl53l0x_api_ranging.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*******************************************************************************
2-
Copyright © 2016, STMicroelectronics International N.V.
2+
Copyright 2016, STMicroelectronics International N.V.
33
All rights reserved.
44
55
Redistribution and use in source and binary forms, with or without
@@ -29,9 +29,9 @@
2929
#include "vl53l0x_api.h"
3030
#include "vl53l0x_api_core.h"
3131

32+
#include <stdlib.h>
3233
/*
3334
#ifndef __KERNEL__
34-
#include <stdlib.h>
3535
#endif
3636
#define LOG_FUNCTION_START(fmt, ...) \
3737
_LOG_FUNCTION_START(TRACE_MODULE_API, fmt, ##__VA_ARGS__)

lib/main/VL53L0X_API/core/src/vl53l0x_api_strings.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*******************************************************************************
2-
Copyright © 2016, STMicroelectronics International N.V.
2+
Copyright 2016, STMicroelectronics International N.V.
33
All rights reserved.
44
55
Redistribution and use in source and binary forms, with or without
@@ -30,8 +30,8 @@
3030
#include "vl53l0x_api_core.h"
3131
#include "vl53l0x_api_strings.h"
3232

33-
/* #ifndef __KERNEL__
3433
#include <stdlib.h>
34+
/* #ifndef __KERNEL__
3535
#endif
3636
3737
#define //LOG_FUNCTION_START(fmt, ...) \

src/main/API/API-Utils.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ int32_t app_GPS_coord[2];
107107
int32_t RC_ARRAY[4] = { 0 };
108108

109109
bool runUserCode = false;
110+
bool OledEnable =false;
110111
bool useAutoRC = false;
111112
bool developerMode = false;
112113
bool External_RC_FLAG[4] = { true, true, true, true };

src/main/API/API-Utils.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ extern int32_t app_GPS_coord [ 2 ];
5858
extern int32_t RC_ARRAY [ 4 ];
5959

6060
extern bool runUserCode;
61+
extern bool OledEnable;
6162
extern bool developerMode;
6263
extern bool useAutoRC;
6364
extern bool External_RC_FLAG [ 4 ];

0 commit comments

Comments
 (0)