mirror of
https://github.com/whowechina/geki_pico.git
synced 2024-12-03 19:47:23 +01:00
Merge pull request #4 from chenxi050402/cli-fix
Fix lever calibration range
This commit is contained in:
commit
0205c3f71c
@ -175,8 +175,8 @@ static void handle_hid(int argc, char *argv[])
|
|||||||
|
|
||||||
static void calibrate_range(uint32_t seconds)
|
static void calibrate_range(uint32_t seconds)
|
||||||
{
|
{
|
||||||
uint32_t mins = 2048;
|
uint32_t mins = lever_raw();
|
||||||
uint32_t maxs = 2048;
|
uint32_t maxs = lever_raw();
|
||||||
|
|
||||||
uint64_t start = time_us_64();
|
uint64_t start = time_us_64();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user