mirror of
https://github.com/grblHAL/core.git
synced 2026-03-23 11:32:44 +08:00
Added optional HAL entry point for stepper motor enumeration, improved optional driver support files.
This commit is contained in:
@@ -194,7 +194,8 @@ bool nvs_buffer_alloc (void)
|
||||
{
|
||||
assert(NVS_SIZE >= GRBL_NVS_SIZE);
|
||||
|
||||
nvsbuffer = malloc(NVS_SIZE);
|
||||
if((nvsbuffer = malloc(NVS_SIZE)))
|
||||
memset(nvsbuffer, 0, NVS_SIZE);
|
||||
|
||||
return nvsbuffer != NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user