diff options
author | Christian Franke <nobody@nowhere.ws> | 2013-12-10 07:01:52 +0100 |
---|---|---|
committer | Christian Franke <nobody@nowhere.ws> | 2013-12-10 07:01:52 +0100 |
commit | 4265af272a962ce1df1f6a975fdc8210f889760a (patch) | |
tree | 5aa10060c5c76ad99d5ab6e36fd81413d72a24cb /controller.h | |
parent | ee3f9c98681127496101900d65d05c8520b16732 (diff) |
Luckily, this ATMega is grossly oversized, so we can
just throw in floating point arithmetic.
Diffstat (limited to 'controller.h')
-rw-r--r-- | controller.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/controller.h b/controller.h index 0b65a73..70e7f30 100644 --- a/controller.h +++ b/controller.h @@ -2,8 +2,8 @@ #define CONTROLLER_H void controller_init(void); -int controller_set(long target); -long controller_get(void); +int controller_set(double target); +double controller_get(void); void controller_off(void); #endif |