diff options
author | Ryan <fauxpark@gmail.com> | 2020-07-02 13:12:34 +1000 |
---|---|---|
committer | James Young <18669334+noroadsleft@users.noreply.github.com> | 2020-08-29 14:30:02 -0700 |
commit | 8a4a0c25fdb2c4d0ac3ac8fd5f6ba14b56f4cd28 (patch) | |
tree | a7bd17453814e37839531484a147fb03773e6215 /docs/ChangeLog/20200829 | |
parent | 60e5733c487cc0435e7d3b913f31ce4acc405d4a (diff) |
Change analogRead calls to analogReadPin (#9023)
* Change analogRead calls to analogReadPin
* Add ChangeLog
* Update docs, remove mention of `analogRead()`
* Retarget changelog for next round
Diffstat (limited to 'docs/ChangeLog/20200829')
-rw-r--r-- | docs/ChangeLog/20200829/PR9023.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/ChangeLog/20200829/PR9023.md b/docs/ChangeLog/20200829/PR9023.md new file mode 100644 index 0000000000..79ca2cb2f8 --- /dev/null +++ b/docs/ChangeLog/20200829/PR9023.md @@ -0,0 +1,5 @@ +# Deprecation of `analogRead()` + +[#9023](https://github.com/qmk/qmk_firmware/pull/9023) + +This function takes Arduino pin numbers (eg. `9` vs. `B5`), which is at odds with the rest of the codebase. The replacement for this function is `analogReadPin()`. |