From 104b4564e0fb7431fe5b2a6ec22d93d1419f7e19 Mon Sep 17 00:00:00 2001 From: Florian Schmaus <flow@cs.fau.de> Date: Thu, 12 May 2016 10:05:40 +0200 Subject: [PATCH] TMR: Use N=3 in fixedpoint library Allowing volts to range to 15V (see updated exercise). --- 03_TMR/libEZS/src/fixedpoint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/03_TMR/libEZS/src/fixedpoint.c b/03_TMR/libEZS/src/fixedpoint.c index 8322884..fb4d892 100644 --- a/03_TMR/libEZS/src/fixedpoint.c +++ b/03_TMR/libEZS/src/fixedpoint.c @@ -1,7 +1,7 @@ #include "fixedpoint.h" enum { - N = 5, + N = 3, }; static const int16_t K = 1 << (N - 1); -- GitLab