Skip to content

Commit e9ff657

Browse files
committed
make constants static
1 parent fb63f1c commit e9ff657

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

avr/cores/picocore/constants.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
// global constants
22
#include <stdint.h>
33

4-
const uint8_t LOW = 0;
5-
const uint8_t HIGH = 1;
6-
const uint8_t LED_BUILTIN = 2;
7-
const uint8_t NUM_DIGITAL_PINS = 6;
4+
static const uint8_t LOW = 0;
5+
static const uint8_t HIGH = 1;
6+
static const uint8_t LED_BUILTIN = 2;
7+
static const uint8_t NUM_DIGITAL_PINS = 6;
88

99
typedef enum {MSBFIRST = 0, LSBFIRST} _bitOrder;
1010

0 commit comments

Comments
 (0)