Solved reviews
This commit is contained in:
@@ -7,7 +7,8 @@
|
||||
#ifndef INC_MUG_H_
|
||||
#define INC_MUG_H_
|
||||
|
||||
/* @brief Initialise MQTT application
|
||||
/**
|
||||
* @brief Initialize MQTT application
|
||||
*/
|
||||
void mug_init(void);
|
||||
|
||||
|
||||
@@ -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 */
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user