mirror of
https://github.com/okalachev/flix.git
synced 2026-02-18 08:02:36 +00:00
Global variables cleanups
Remove unused PID objects for cli Move loopRate to time.ino
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
|
||||
// Time related functions
|
||||
|
||||
float loopRate; // Hz
|
||||
|
||||
void step() {
|
||||
float now = micros() / 1000000.0;
|
||||
dt = now - t;
|
||||
|
||||
Reference in New Issue
Block a user