File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed
Firmware/hardware/Balanduino/avr/variants/standard Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change 33
33
34
34
#include <avr/pgmspace.h>
35
35
36
- #define SS 6
37
- #define MOSI 27
38
- #define MISO 28
39
- #define SCK 29
36
+ const static uint8_t SS = 6 ;
37
+ const static uint8_t MOSI = 27 ;
38
+ const static uint8_t MISO = 28 ;
39
+ const static uint8_t SCK = 29 ;
40
40
41
41
#define LED_BUILTIN 6
42
42
43
- #define A0 7
44
- #define A1 8
45
- #define A2 9
46
- #define A3 10
47
- #define A4 11
48
- #define VBAT 12 // Not broken out - used for battery voltage measurement
43
+ static const uint8_t A0 = 7 ;
44
+ static const uint8_t A1 = 8 ;
45
+ static const uint8_t A2 = 9 ;
46
+ static const uint8_t A3 = 10 ;
47
+ static const uint8_t A4 = 11 ;
48
+ static const uint8_t VBAT = 12 ; // Not broken out - used for battery voltage measurement
49
49
50
- #define SDA 13
51
- #define SCL 14
50
+ static const uint8_t SDA = 13 ;
51
+ static const uint8_t SCL = 14 ;
52
52
53
53
// ATMEL ATMEGA1284P / Balanduino
54
54
//
You can’t perform that action at this time.
0 commit comments