Skip to content

Commit a1f59d4

Browse files
Copilotsoburi
andcommitted
Fix indentation in ADC_PINS and PWM_PINS macros
Align continuation lines consistently with the rest of the code style. Co-authored-by: soburi <458281+soburi@users.noreply.github.com>
1 parent e9069d0 commit a1f59d4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cores/arduino/zephyrCommon.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ void handleGpioCallback(const struct device *port, struct gpio_callback *cb, uin
234234
#else
235235
#define PWM_PINS(n, p, i) \
236236
ZARD_GLOBAL_GPIO_NUM(DT_PHANDLE_BY_IDX(DT_PATH(zephyr_user), p, i)) + \
237-
DT_PHA_BY_IDX(DT_PATH(zephyr_user), p, i, pin),
237+
DT_PHA_BY_IDX(DT_PATH(zephyr_user), p, i, pin),
238238
#endif
239239
#define PWM_CONN_CHANNEL_DT(n, p, i) \
240240
COND_CODE_1(DT_NODE_HAS_STATUS_OKAY(DT_MAP_ENTRY_PARENT_BY_IDX(n, p, i)), \
@@ -286,7 +286,7 @@ size_t pwm_pin_index(pin_size_t pinNumber) {
286286
#else
287287
#define ADC_PINS(n, p, i) \
288288
ZARD_GLOBAL_GPIO_NUM(DT_PHANDLE_BY_IDX(DT_PATH(zephyr_user), p, i)) + \
289-
DT_PHA_BY_IDX(DT_PATH(zephyr_user), p, i, pin),
289+
DT_PHA_BY_IDX(DT_PATH(zephyr_user), p, i, pin),
290290
#endif
291291
#define ADC_CH_CFG(n,p,i) arduino_adc[i].channel_cfg,
292292
#define ADC_CONN_CHANNEL_CFG(n, p, i) \

0 commit comments

Comments
 (0)