Skip to content

Commit

Permalink
samples: drivers: adc: adc_sequence: add support for nrf54l15pdk.
Browse files Browse the repository at this point in the history
Signed-off-by: Bartlomiej Buczek <[email protected]>
  • Loading branch information
nordic-babu committed Apr 26, 2024
1 parent 2689173 commit 395210d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions samples/drivers/adc/adc_dt/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ tests:
- mr_canhubk3
- longan_nano
- longan_nano_lite
- nrf54l15pdk_nrf54l15_cpuapp
integration_platforms:
- nucleo_l073rz
- nrf52840dk_nrf52840
Expand Down
2 changes: 1 addition & 1 deletion samples/drivers/adc/adc_dt/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ int main(void)
}
}

while (1) {
for (int i = 1; i<15;i++) {

Check failure on line 57 in samples/drivers/adc/adc_dt/src/main.c

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

SPACING

samples/drivers/adc/adc_dt/src/main.c:57 spaces required around that '<' (ctx:VxV)

Check failure on line 57 in samples/drivers/adc/adc_dt/src/main.c

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

SPACING

samples/drivers/adc/adc_dt/src/main.c:57 space required after that ';' (ctx:VxV)
printk("ADC reading[%u]:\n", count++);
for (size_t i = 0U; i < ARRAY_SIZE(adc_channels); i++) {
int32_t val_mv;
Expand Down
2 changes: 1 addition & 1 deletion samples/drivers/adc/adc_sequence/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ int main(void)
}
}

while (1) {
for (int i = 0; i<15; i++) {

Check failure on line 59 in samples/drivers/adc/adc_sequence/src/main.c

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

SPACING

samples/drivers/adc/adc_sequence/src/main.c:59 spaces required around that '<' (ctx:VxV)
printf("ADC sequence reading [%u]:\n", count++);
k_msleep(1000);

Expand Down

0 comments on commit 395210d

Please sign in to comment.