refactor: Integrate Modbus register defines into enums in modbus_server.h
Moved Modbus register definitions from into enums within . This centralizes register definitions, improves type safety, and enhances code readability. - : Added and to the of holding registers. - : Removed the directive for . - : Deleted this file as its contents are now integrated into . Signed-off-by: Eduard Iten <eduard@iten.pro>
This commit is contained in:
@@ -17,8 +17,6 @@
|
||||
#include <zephyr/sys/reboot.h>
|
||||
#include <zephyr/usb/usb_device.h>
|
||||
#include <app_version.h>
|
||||
#include <lib/fwu.h>
|
||||
#include <lib/modbus_registers.h>
|
||||
#include <lib/modbus_server.h>
|
||||
#include <lib/valve.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user