diff --git a/workspace/TS100/src/main.cpp b/workspace/TS100/src/main.cpp index 415f8214..f05e937f 100644 --- a/workspace/TS100/src/main.cpp +++ b/workspace/TS100/src/main.cpp @@ -957,7 +957,13 @@ void startPIDTask(void const *argument __unused) { // divided by 20 to let I term dominate near set point. // I should retune this, but don't want to do it until // the feed-forward temp adjustment is in place. +#ifdef MODEL_TS100 const uint16_t mass = 1690 / 20; +#endif +#ifdef MODEL_TS80 + const uint16_t mass = 1690 / 50; +#endif + int32_t milliWattsNeeded = tempToMilliWatts(tempError.average(), mass, rawC); milliWattsOut += milliWattsNeeded; diff --git a/workspace/TS100A/.cproject b/workspace/TS100A/.cproject index 71603da9..8025ecc0 100644 --- a/workspace/TS100A/.cproject +++ b/workspace/TS100A/.cproject @@ -45,13 +45,13 @@ -