Fix numerical overflow causing long (time) linear moves to fail. #258
authorJoseph Coffland <joseph@cauldrondevelopment.com>
Mon, 8 Mar 2021 03:24:45 +0000 (19:24 -0800)
committerJoseph Coffland <joseph@cauldrondevelopment.com>
Mon, 8 Mar 2021 03:25:20 +0000 (19:25 -0800)
CHANGELOG.md
src/avr/src/line.c

index f84a9478419dce86b4d0fb8b20183f9edfd07427..7eccdb27233e00a3cb1b09d0f010eede053b09c3 100644 (file)
@@ -11,6 +11,8 @@ Buildbotics CNC Controller Firmware Changelog
  - Moved ``Save`` button to ``SETTINGS`` pages.
  - Added firmware check message.
  - Added macro buttons.
+ - Fixed error setting lower soft limit with virtual keyboard installed. #249
+ - Fix numerical overflow causing long (time) linear moves to fail. #258
 
 ## v0.4.16
  - Improved axis under/over warning tooltip.
index f82498307ddef9bb8daf8c2bb8f091b17ab33ee0..159a0a291229363f9957754c152199148c6e153f 100644 (file)
@@ -53,8 +53,8 @@ typedef struct {
 static struct {
   line_t line;
 
-  int section;
-  int seg;
+  uint8_t section;
+  uint32_t seg;
 
   float iD; // Initial section distance
   float iV; // Initial section velocity