Skip to content

Commit ec6cb5f

Browse files
committed
fixed definitions of board generated voltages
1 parent 1d65c54 commit ec6cb5f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

sam/1.0.3/variants/geolink_opentracker/variant.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -237,8 +237,8 @@ static const uint8_t CANTX = 33;
237237
#define PIN_C_REBOOT 4
238238
#define PIN_RING_GSM 22
239239
#define PIN_GSM_VDD_EXT 24
240-
#define ANALOG_VREF 3.400f
241-
#define MODEM_VBAT 4.133f
240+
#define ANALOG_VREF 3.40
241+
#define MODEM_VBAT 4.13
242242
#else
243243
// HW Revision 2.4
244244
// dropped "REBOOT" pin and "GSM VDD" (unused)
@@ -247,8 +247,8 @@ static const uint8_t CANTX = 33;
247247
#define PIN_RING_GSM 24
248248
#define PIN_C_IN1_PD 38
249249
#define PIN_C_IN2_PD 39
250-
#define ANALOG_VREF 3.307f
251-
#define MODEM_VBAT 4.360f
250+
#define ANALOG_VREF 3.31
251+
#define MODEM_VBAT 4.36
252252
#endif
253253

254254
#define AIN_S_INLEVEL 49

0 commit comments

Comments
 (0)