Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: BufferedSerial FatFileSystemCpp mbed
Diff: VIPSSerialProtocol.cpp
- Revision:
- 66:066b16c6c34f
- Parent:
- 57:ba6f516d93b9
- Child:
- 69:47f800793d00
diff -r e2b454ed9940 -r 066b16c6c34f VIPSSerialProtocol.cpp
--- a/VIPSSerialProtocol.cpp	Thu Nov 11 21:11:08 2021 +0000
+++ b/VIPSSerialProtocol.cpp	Tue Nov 16 19:01:34 2021 +0000
@@ -28,7 +28,7 @@
 
     queueLen = 0;
 
-    SmoothBy = 500;
+    SmoothBy = 100; //was 500
     XSmoothTotal = 0;
     YSmoothTotal = 0;
     ZSmoothTotal = 0;
@@ -355,7 +355,7 @@
         if ( ( ( testValue & 0x400) == 0x400) && (!hyperSmoothEnabled)) {
             EnableSmoothing(true);
             //pc.write("Auto HS On\r\n", 12);
-        } else if ( ( ( testValue & 0x400) != 0x400) && (hyperSmoothEnabled)) {
+        } else if ( ( ( testValue & 0x400) != 0x400) && (hyperSmoothEnabled) && (!forcedHyperSmooth)) {
             EnableSmoothing(false);
             //pc.write("Auto HS Off\r\n", 13);
         } //Auto Hypersmooth