Changed function name mug_init to mqtt_application_init
This commit is contained in:
@@ -10,6 +10,6 @@
|
||||
/**
|
||||
* @brief Initialize MQTT application
|
||||
*/
|
||||
void mug_init(void);
|
||||
void mqtt_application_init(void);
|
||||
|
||||
#endif /* INC_MQTTA_H_ */
|
||||
|
||||
@@ -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 */
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user