Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
17830: periph/timer: fix Kconfig menu title r=aabadie a=gschorcht ### Contribution description This PR is a very small fix of inconsistent peripheral driver entry in `Kconfig` for `periph/timer`. In Kconfig menu `(Top) → Drivers → Peripherals drivers` all entries start with the peripheral name in alphabetical order with only one exception, the timer entry. This entry is called `Configure timer peripheral driver`: ``` [ ] CPU unique ID [ ] EEPROM peripheral driver [ ] Flashpage peripheral driver ---- [*] GPIO peripheral driver ---> [ ] HWRNG peripheral driver [ ] PWM peripheral driver [*] Power Management (PM) peripheral driver [*] Auto initialize Power Management (PM) peripheral [ ] Quadrature Decoder (QDEC) peripheral driver [ ] RTC peripheral driver ---- [ ] SPI peripheral driver ---- [*] UART peripheral driver ---> [*] Configure timer peripheral driver ---> ``` This is confusing and doesn't help to find the right entry. This PR 1. changes the entry to `Timer peripheral driver` and 2. corrects the alphabetical order. ### Testing procedure Use command ``` TEST_KCONFIG=1 make -C tests/periph_timer menuconfig ``` and check the output. in menu `(Top) → Drivers → Peripherals drivers`. It should be with this PR: ``` [ ] CPU unique ID [ ] EEPROM peripheral driver [ ] Flashpage peripheral driver ---- [*] GPIO peripheral driver ---> [ ] HWRNG peripheral driver [ ] PWM peripheral driver [*] Power Management (PM) peripheral driver [*] Auto initialize Power Management (PM) peripheral [ ] Quadrature Decoder (QDEC) peripheral driver [ ] RTC peripheral driver ---- [ ] SPI peripheral driver ---- [*] Timer peripheral driver ---> [*] UART peripheral driver ---> ``` ### Issues/PRs references 19635: drivers/mrf24j40: cleanup function r=aabadie a=maribu ### Contribution description `_set_csma_params()` spends some time to prepare a value in `uint8_t tmp`, which then is never used. Likely this is a leftover of moving code to `mrf24j40_set_csma_max_retries()`. This drops the leftover code. Co-authored-by: Gunar Schorcht <gunar@schorcht.net> Co-authored-by: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
- Loading branch information