Solved reviews

This commit is contained in:
RobinVdB8
2023-11-25 20:30:12 +01:00
parent 7cbee6afbb
commit 875edb52b5
3 changed files with 9 additions and 6 deletions

View File

@@ -7,7 +7,8 @@
#ifndef INC_MUG_H_
#define INC_MUG_H_
/* @brief Initialise MQTT application
/**
* @brief Initialize MQTT application
*/
void mug_init(void);

View File

@@ -133,11 +133,13 @@ int main(void)
/* Initialize the tftp server */
tftp_server_init();
/* Initialize the MQTT application */
mug_init();
/* USER CODE END 2 */
/* Infinite loop */
/* USER CODE BEGIN WHILE */
mug_init();
while (1)
{
/* USER CODE END WHILE */

View File

@@ -4,10 +4,10 @@
* @author RobinVdB
*/
#include <string.h>
#include "mdns.h"
#include "httpd.h"
#include "lwip/apps/fs.h"
#include <string.h>
#include "lwip/ip_addr.h"
#include "mqtt.h"
#include "mug.h"
@@ -275,7 +275,7 @@ void mug_init(void) {
/**
* @brief Reads the color input string and outputs it to a useable value for LCD_APi
*
* @param[out] color define to use with the LCD_API
* @return color define to use with the LCD_API
* @param[in] color input string to select a color
*/
uint32_t color_picker(char* color) {