mirror of
https://github.com/grblHAL/core.git
synced 2026-03-23 20:54:26 +08:00
Fix code guard
This commit is contained in:
@@ -61,9 +61,8 @@ extern void pca9654e_init(void);
|
||||
|
||||
#if PICOHAL_IO_ENABLE
|
||||
|
||||
#ifndef MODBUS_ENABLE
|
||||
#if !MODBUS_ENABLE
|
||||
#error "Modbus must be enabled to use the Picohal IO expander!"
|
||||
#undef PICOHAL_IO_ENABLE
|
||||
#endif
|
||||
|
||||
extern void picohal_io_init (void);
|
||||
|
||||
Reference in New Issue
Block a user