I messed up the merge, so pushing it over to another repo so I don't lose it. Will tidy up and remove later
Dependencies: BufferedSerial FatFileSystemCpp mbed
Diff: VIPSSerialProtocol.h
- Revision:
- 66:066b16c6c34f
- Parent:
- 35:7ecf25d9c414
- Child:
- 69:47f800793d00
--- a/VIPSSerialProtocol.h Thu Nov 11 21:11:08 2021 +0000 +++ b/VIPSSerialProtocol.h Tue Nov 16 19:01:34 2021 +0000 @@ -44,7 +44,16 @@ { return hyperSmoothEnabled; }; - + bool ForceSmoothing(bool enabled) + { + forcedHyperSmooth = enabled; + hyperSmoothEnabled = enabled; + return hyperSmoothEnabled; + }; + bool ForceSmoothingEnabled(bool enabled) + { + return forcedHyperSmooth; + }; int GetSmoothLevel(void) { return SmoothBy; @@ -100,6 +109,7 @@ bool enableAllUpdates; bool newFormatMsg; bool hyperSmoothEnabled; + bool forcedHyperSmooth; uint32_t pointCount; uint32_t _outputMask;