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:
2025-07-11 09:58:51 +02:00
parent dcbd02ad7a
commit 4466b677a6
3 changed files with 8 additions and 37 deletions

View File

@@ -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>