Changed function name mug_init to mqtt_application_init

This commit is contained in:
RobinVdB8
2023-11-26 12:43:38 +01:00
parent d88d35c6cf
commit b50900e713
3 changed files with 3 additions and 3 deletions

View File

@@ -10,6 +10,6 @@
/**
* @brief Initialize MQTT application
*/
void mug_init(void);
void mqtt_application_init(void);
#endif /* INC_MQTTA_H_ */

View File

@@ -135,7 +135,7 @@ int main(void)
tftp_server_init();
/* Initialize the MQTT application */
mug_init();
mqtt_application_init();
/* USER CODE END 2 */
/* Infinite loop */

View File

@@ -287,7 +287,7 @@ static void mosquitto_connect(mqtt_client_t* client) {
* @brief Init function for the mosquitto application of the assignment
* Gives the global variables a value and calls the mosquitto_connect function
*/
void mug_init(void) {
void mqtt_application_init(void) {
color = LCD_BLACK;
bgcolor = LCD_WHITE;
font = LCD_FONT16;