Merge pull request #4 from chenxi050402/cli-fix

Fix lever calibration range
This commit is contained in:
whowechina 2024-10-12 18:01:01 +08:00 committed by GitHub
commit 0205c3f71c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -175,8 +175,8 @@ static void handle_hid(int argc, char *argv[])
static void calibrate_range(uint32_t seconds)
{
uint32_t mins = 2048;
uint32_t maxs = 2048;
uint32_t mins = lever_raw();
uint32_t maxs = lever_raw();
uint64_t start = time_us_64();