[Grbl_Esp32 PR#25] Function was crashing , with ALARM:10 as overflowing array. replaced …

未分类 bolang 4个月前 (10-14) 38次浏览

Issue #25 | 状态: 已关闭 | 作者: davehines91 | 创建时间: 2018-09-03


Function was crashing , with ALARM:10 as overflowing array. replaced with larger array + use of snprintf to truncate rather than overflow in the future.

I’ve added Alarm 10 as motor error in my working copy , this caused the above fault.

First attempt at a pull request , won’t be offended if you reject in favour of Luc’s grbl_sendf(..) function :)

原始Issue: https://github.com/bdring/Grbl_Esp32/pull/25

喜欢 (0)