refactor: format CMakeLists.txt for better readability and add documentation comments in dmx.h

This commit is contained in:
HendrikRauh 2026-03-20 22:55:55 +01:00
parent 573757ffe0
commit 226370a077
3 changed files with 19 additions and 2 deletions

View file

@ -6,8 +6,18 @@
extern "C" {
#endif
/**
* @brief Initialize the DMX interface.
* @param port The DMX port to initialize.
* @param pin_tx The pin for TX of the RS485.
* @param pin_rx The pin for RX of the RS485.
*/
void init_dmx(dmx_port_t port, int pin_tx, int pin_rx);
/**
* @brief Send some test DMX data on the specified port.
* @param port The DMX port to send data on.
*/
void send_dmx(dmx_port_t port);
#ifdef __cplusplus