Skip to content

Commit a9e3eb8

Browse files
committed
remove inncesary comments
1 parent 2829cff commit a9e3eb8

File tree

1 file changed

+4
-14
lines changed

1 file changed

+4
-14
lines changed

variants/RHF76_052/variant.h

+4-14
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ extern "C" {
4848

4949

5050
// This must be a literal
51-
#define NUM_DIGITAL_PINS 17
51+
#define NUM_DIGITAL_PINS 18
5252
// This must be a literal with a value less than or equal to to MAX_ANALOG_INPUTS
5353
#define NUM_ANALOG_INPUTS 1
5454
#define NUM_ANALOG_FIRST 1
@@ -63,25 +63,15 @@ extern "C" {
6363
#define PIN_SPI_MISO PA6
6464
#define PIN_SPI_SCK PA5
6565

66-
// Timer Definitions
67-
// Do not use timer used by PWM pins when possible. See PinMap_PWM.
68-
#define TIMER_TONE TIM6
69-
70-
// Do not use basic timer: OC is required
71-
#define TIMER_SERVO TIM2 //TODO: advanced-control timers don't work
72-
7366
// UART Definitions
74-
#define SERIAL_UART_INSTANCE 1 //Connected to ST-Link
75-
// Default pin used for 'Serial' instance (ex: ST-Link)
67+
#define SERIAL_UART_INSTANCE 1
68+
7669
// Mandatory for Firmata
7770
#define PIN_SERIAL_RX PB7
7871
#define PIN_SERIAL_TX PB6
7972

80-
//#define PIN_SERIAL1_RX PB7
81-
//#define PIN_SERIAL1_TX PB6
82-
8373
/* Extra HAL modules */
84-
//#define HAL_DAC_MODULE_ENABLED
74+
#define HAL_ADC_MODULE_DISABLED
8575

8676
#ifdef __cplusplus
8777
} // extern "C"

0 commit comments

Comments
 (0)