Skip to content

Commit

Permalink
Add missing newlines at the of the header files
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacajack committed Sep 6, 2021
1 parent 5f1f040 commit e7be88b
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion include/lightmodbus/base.h
Original file line number Diff line number Diff line change
Expand Up @@ -606,4 +606,4 @@ LIGHTMODBUS_WARN_UNUSED LIGHTMODBUS_ALWAYS_INLINE static inline ModbusError modb
return MODBUS_OK;
}

#endif
#endif
2 changes: 1 addition & 1 deletion include/lightmodbus/base.impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -145,4 +145,4 @@ LIGHTMODBUS_WARN_UNUSED uint16_t modbusCRC(const uint8_t *data, uint16_t length)
return crc;
}

#endif
#endif
2 changes: 1 addition & 1 deletion include/lightmodbus/debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ const char *modbusExceptionCodeStr(ModbusExceptionCode code);
const char *modbusDataTypeStr(ModbusDataType type);
const char *modbusRegisterQueryStr(ModbusRegisterQuery query);

#endif
#endif
2 changes: 1 addition & 1 deletion include/lightmodbus/debug.impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -115,4 +115,4 @@ const char *modbusRegisterQueryStr(ModbusRegisterQuery query)
#undef ESTR
#undef ECASE

#endif
#endif
2 changes: 1 addition & 1 deletion include/lightmodbus/lightmodbus.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -417,4 +417,4 @@ class Master

}

#endif
#endif
2 changes: 1 addition & 1 deletion include/lightmodbus/master.h
Original file line number Diff line number Diff line change
Expand Up @@ -177,4 +177,4 @@ static inline void modbusMasterFreeRequest(ModbusMaster *status)
extern ModbusMasterFunctionHandler modbusMasterDefaultFunctions[];
extern const uint8_t modbusMasterDefaultFunctionCount;

#endif
#endif
2 changes: 1 addition & 1 deletion include/lightmodbus/master.impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -383,4 +383,4 @@ LIGHTMODBUS_RET_ERROR modbusParseResponseTCP(
responsePDULength);
}

#endif
#endif
2 changes: 1 addition & 1 deletion include/lightmodbus/master_func.h
Original file line number Diff line number Diff line change
Expand Up @@ -321,4 +321,4 @@ LIGHTMODBUS_DEFINE_BUILD_RTU_BODY(22, index, andmask, ormask)
LIGHTMODBUS_DEFINE_BUILD_TCP_HEADER(22, uint16_t index, uint16_t andmask, uint16_t ormask)
LIGHTMODBUS_DEFINE_BUILD_TCP_BODY(22, index, andmask, ormask)

#endif
#endif
2 changes: 1 addition & 1 deletion include/lightmodbus/master_func.impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -452,4 +452,4 @@ LIGHTMODBUS_RET_ERROR modbusBuildRequest22(
return MODBUS_NO_ERROR();
}

#endif
#endif
2 changes: 1 addition & 1 deletion include/lightmodbus/slave.h
Original file line number Diff line number Diff line change
Expand Up @@ -197,4 +197,4 @@ static inline void modbusSlaveFreeResponse(ModbusSlave *status)
extern ModbusSlaveFunctionHandler modbusSlaveDefaultFunctions[];
extern const uint8_t modbusSlaveDefaultFunctionCount;

#endif
#endif
2 changes: 1 addition & 1 deletion include/lightmodbus/slave.impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -402,4 +402,4 @@ LIGHTMODBUS_RET_ERROR modbusParseRequestTCP(ModbusSlave *status, const uint8_t *
return MODBUS_NO_ERROR();
}

#endif
#endif
2 changes: 1 addition & 1 deletion include/lightmodbus/slave_func.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ LIGHTMODBUS_RET_ERROR modbusParseRequest22(
const uint8_t *requestPDU,
uint8_t requestLength);

#endif
#endif
2 changes: 1 addition & 1 deletion include/lightmodbus/slave_func.impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -330,4 +330,4 @@ LIGHTMODBUS_RET_ERROR modbusParseRequest22(
return MODBUS_NO_ERROR();
}

#endif
#endif

0 comments on commit e7be88b

Please sign in to comment.