Commit 699b2cdf authored by Johann Fischer's avatar Johann Fischer Committed by Carles Cufi
Browse files

modbus: remove RTU from configuration and headers



Remove RTU from configuration and headers

Signed-off-by: default avatarJohann Fischer <johann.fischer@nordicsemi.no>
parent ed0629f6
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -26,8 +26,8 @@
 * @{
 */

#ifndef ZEPHYR_INCLUDE_MODBUS_RTU_H_
#define ZEPHYR_INCLUDE_MODBUS_RTU_H_
#ifndef ZEPHYR_INCLUDE_MODBUS_H_
#define ZEPHYR_INCLUDE_MODBUS_H_

#include <drivers/uart.h>

@@ -404,4 +404,4 @@ int modbus_disable(const uint8_t iface);
 * @}
 */

#endif /* ZEPHYR_INCLUDE_MODBUS_RTU_H_ */
#endif /* ZEPHYR_INCLUDE_MODBUS_H_ */
+2 −2
Original line number Diff line number Diff line
@@ -4,5 +4,5 @@ CONFIG_SERIAL=y
CONFIG_UART_INTERRUPT_DRIVEN=y
CONFIG_UART_LINE_CTRL=n

CONFIG_MODBUS_RTU=y
CONFIG_MODBUS_RTU_ROLE_CLIENT=y
CONFIG_MODBUS=y
CONFIG_MODBUS_ROLE_CLIENT=y
+1 −1
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@
#include <zephyr.h>
#include <sys/util.h>
#include <drivers/gpio.h>
#include <modbus/modbus_rtu.h>
#include <modbus/modbus.h>

#include <logging/log.h>
LOG_MODULE_REGISTER(mbc_sample, LOG_LEVEL_INF);
+2 −2
Original line number Diff line number Diff line
@@ -4,5 +4,5 @@ CONFIG_SERIAL=y
CONFIG_UART_INTERRUPT_DRIVEN=y
CONFIG_UART_LINE_CTRL=n

CONFIG_MODBUS_RTU=y
CONFIG_MODBUS_RTU_ROLE_SERVER=y
CONFIG_MODBUS=y
CONFIG_MODBUS_ROLE_SERVER=y
+1 −1
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@
#include <zephyr.h>
#include <sys/util.h>
#include <drivers/gpio.h>
#include <modbus/modbus_rtu.h>
#include <modbus/modbus.h>

#include <logging/log.h>
LOG_MODULE_REGISTER(mbs_sample, LOG_LEVEL_INF);
Loading