Commit graph

26 commits

Author SHA1 Message Date
Jason Smith 79d51581ba
Fix digipot compilation (#19731) 2020-10-14 13:44:03 -05:00
Scott Lahteine 492ba2a111
Digipots refactor / cleanup (#19690) 2020-10-11 14:58:35 -05:00
Diego von Deschwanden 42fbd527f3
Fix links to secure sites (#18745) 2020-07-22 22:20:14 -05:00
Scott Lahteine 52f3f3b5ab Fix motor current array 2020-05-02 17:00:12 -05:00
grauerfuchs 4a5a3d27ed
Option to use raw digipot values (#17536) 2020-04-18 22:56:23 -05:00
Axel c834b313a5
Fix Mightyboard build (#17537) 2020-04-13 21:49:55 -05:00
Scott Lahteine 62e8c2dd87 Fix up 'system' includes 2020-04-01 23:51:09 -05:00
Scott Lahteine 118bd2f8b2
Apply loop shorthand macros (#17159) 2020-03-13 23:18:16 -05:00
Scott Lahteine bfad23d3e2 (c) 2020 2020-02-03 08:00:57 -06:00
0r31 e3611ad209 Fix MKS Base + Digipot compile error (#16636) 2020-01-26 01:08:40 -06:00
0r31 451062553e LPC1768: Allow I2C master channel override (#16584) 2020-01-19 23:59:06 -06:00
Jason Smith 53abfdc2c3 Fix BLTOUCH and FAN PWM conflicts on SKR E3 boards (#15547) 2019-10-15 14:18:46 -05:00
Scott Lahteine c353eaa146
Misc changes from struct refactor (#15289) 2019-09-17 18:16:28 -05:00
Scott Lahteine 1c3a1ab2c6 Use _MIN over MIN 2019-09-08 01:02:15 -05:00
Scott Lahteine 750a16ad38 Fix MIN/MAX function collision with macros 2019-07-05 18:14:02 -05:00
Scott Lahteine 93cd66ac11 Tweaky change from (C) to (c) 2019-06-27 23:58:16 -05:00
InsanityAutomation ba31d39f6d Azteeg X5 Mini support (#13425) 2019-04-08 23:10:45 -05:00
Scott Lahteine 49cf92dc36
Extended condition macros (#13419)
Allow `ENABLED`, `DISABLED`, `PIN_EXISTS`, and `BUTTON_EXISTS` to take multiple arguments. Also add:
- Alias `ANY(...)` for `!DISABLED(...)`
- Alias `ANY_PIN(...)` for `PIN_EXISTS(a) || PIN_EXISTS(b) ...`
- Alias `EITHER(A,B)` for `ANY(...)`
- Alias `ALL(...)` and `BOTH(A,B)` for `ENABLED(...)`
- `NONE(...)` for `DISABLED(...)`
2019-03-16 23:43:06 -05:00
Scott Lahteine a43e892fb5 Use 8-bit i2c address on LPC platform
Fix #9799 — hopefully not a unicorn
2019-02-20 06:27:26 -06:00
Scott Lahteine 0feeef2604 Update copyright in headers 2019-02-12 15:30:11 -06:00
Scott Lahteine f5eab912ed
Apply #pragma once, misc cleanup (#12322)
* Apply #pragma once in headers
* Adjust some thermistors formatting
* Misc cleanup and formatting
2018-11-04 02:25:55 -06:00
etagle 1367df2875 Replace double with float, optimize calculation 2018-07-04 22:28:56 -05:00
Scott Lahteine 99ecdf59af Smarter MIN, MAX, ABS macros
Use macros that explicitly avoid double-evaluation and can be used for any datatype, replacing `min`, `max`, `abs`, `fabs`, `labs`, and `FABS`.

Co-Authored-By: ejtagle <ejtagle@hotmail.com>
2018-05-13 04:52:56 -05:00
Scott Lahteine beeed580b8
Implement digipots for MKS SBASE (#9927)
Fix #9477
2018-03-04 15:14:47 -06:00
Bob-the-Kuhn 4e3ee845b9 config_adv (#7941)
get rid of twi.h

move to board files
2017-10-11 15:42:24 -05:00
Scott Lahteine 6e0503eab2 Move M907-M910 to cpp 2017-09-21 16:27:09 -05:00