qmk-keychron-q3-colemak-dh/platforms
Sergey Vlasov 81ca83296f
analog.c: Fix pinToMux() for STM32F0xx (#19658)
The `adc_read()` code for STM32F0xx expects to get the 0-based channel
number in `mux.input`, but the `pinToMux()` code for STM32F0xx was
attempting to pass the CHSELR bit mask in that field, which resulted in
selecting a wrong channel, therefore `analogReadPin()` did not work
properly for the STM32F0xx chips.  Fix `pinToMux()` to put the channel
number in that field (this matches the behavior for other supported
chips and also allows selection of channels 16...18, which can be used
to access the builtin temperature, reference voltage and VBAT sensors).
2023-01-25 01:47:55 +00:00
..
arm_atsam De-duplicate platform detection (#19603) 2023-01-19 00:27:00 +00:00
avr Fix functions with empty params (#19647) 2023-01-20 16:21:17 +00:00
chibios analog.c: Fix pinToMux() for STM32F0xx (#19658) 2023-01-25 01:47:55 +00:00
test [Test] Reset timer for every unit test and provide timestamps for log messages (#17028) 2022-12-15 02:31:08 +11:00
atomic_util.h Move tmk_core/common/<plat> (#13918) 2021-11-19 10:41:02 -08:00
bootloader.h [Core] Add Reboot keycode to core (#15990) 2022-05-14 13:35:49 +10:00
common.mk Expose API for hardware unique ID (#16869) 2022-04-18 20:51:40 +10:00
eeprom.h NVRAM refactor, phase 1. (#18969) 2022-11-23 08:50:19 +00:00
gpio.h Move tmk_core/common/<plat> (#13918) 2021-11-19 10:41:02 -08:00
hardware_id.h Expose API for hardware unique ID (#16869) 2022-04-18 20:51:40 +10:00
lv_conf.h [Core] Quantum Painter - LVGL Integration (#18499) 2022-12-13 07:51:14 +11:00
pin_defs.h Redo workaround for pin_def errors on KINETIS (#16620) 2022-03-11 18:50:59 +00:00
progmem.h Remove use of __flash due to LTO issues (#15268) 2021-11-24 18:38:49 +11:00
sleep_led.h Move tmk_core/common/<plat> (#13918) 2021-11-19 10:41:02 -08:00
suspend.c Format code according to conventions (#16322) 2022-02-12 18:29:31 +00:00
suspend.h Remove unused suspend_idle (#16063) 2022-01-26 14:57:28 -08:00
synchronization_util.h [Fix] Fix compilation warning for non-split keebs after #17423 (#17439) 2022-06-21 09:31:20 +10:00
timer.h Format code according to conventions (#16322) 2022-02-12 18:29:31 +00:00
wait.h Move tmk_core/common/<plat> (#13918) 2021-11-19 10:41:02 -08:00