mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
8fc1187278
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> |
||
---|---|---|
.. | ||
cpuid.c | ||
eeprom.c | ||
flashpage.c | ||
gpio_ll_irq.c | ||
gpio_ll.c | ||
gpio.c | ||
i2c.c | ||
init_buttons.c | ||
init_leds.c | ||
init.c | ||
Kconfig | ||
Kconfig.flashpage | ||
Kconfig.gpio | ||
Kconfig.i2c | ||
Kconfig.leds | ||
Kconfig.rtc | ||
Kconfig.spi | ||
Kconfig.timer | ||
Kconfig.uart | ||
Kconfig.usbdev | ||
Kconfig.vbat | ||
Kconfig.wdt | ||
Makefile | ||
Makefile.dep | ||
pm.c | ||
ptp_timer.c | ||
spi.c | ||
timer.c |