Skip to content

Commit 66ae92e

Browse files
authored
Merge pull request vedderb#97 from sprenger120/master
Fixed compilation errors for HW_40 and HW_45
2 parents 8619ccf + b4f8cd1 commit 66ae92e

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

hwconf/hw_40.h

+3-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
* 6: VREFINT
5252
* 7: IN11 NC
5353
* 8: IN12 AN_IN
54-
* 9: IN13 NC
54+
* 9: IN13 NC (TEMP_MOSFET to make it compile)
5555
* 10: IN15 ADC_EXT
5656
* 11: IN10 TEMP_MOTOR
5757
*/
@@ -68,7 +68,9 @@
6868
#define ADC_IND_CURR2 3
6969
#define ADC_IND_VIN_SENS 8
7070
#define ADC_IND_EXT 10
71+
#define ADC_IND_TEMP_MOS 9
7172
#define ADC_IND_VREFINT 6
73+
#define ADC_IND_TEMP_MOTOR 11
7274

7375
// ADC macros and settings
7476

hwconf/hw_45.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
* 6: VREFINT
5252
* 7: IN11 NC
5353
* 8: IN12 AN_IN
54-
* 9: IN13 NC
54+
* 9: IN13 NC (TEMP_MOSFET to make it compile)
5555
* 10: IN15 ADC_EXT
5656
* 11: IN10 TEMP_MOTOR
5757
*/
@@ -68,6 +68,7 @@
6868
#define ADC_IND_CURR2 3
6969
#define ADC_IND_VIN_SENS 8
7070
#define ADC_IND_EXT 10
71+
#define ADC_IND_TEMP_MOS 9
7172
#define ADC_IND_VREFINT 6
7273
#define ADC_IND_TEMP_MOTOR 11
7374

0 commit comments

Comments
 (0)