Skip to content

Commit

Permalink
refactoring v3
Browse files Browse the repository at this point in the history
  • Loading branch information
attdona committed Sep 23, 2017
1 parent a757166 commit dd79dad
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 9 deletions.
5 changes: 3 additions & 2 deletions burba/apps/hello-mqtt/main.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

/*
* Copyright (C) 2017 Attilio Dona'
*
Expand All @@ -7,9 +8,9 @@
*
*/

#include "mqtt.h"
#include "bocia_mqtt.h"
#include "bocia_uart.h"
#include "periph/gpio.h"
#include "proto_uart.h"
#include "xtimer.h"
#include <stdio.h>

Expand Down
2 changes: 1 addition & 1 deletion burba/apps/hello-proto/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
*
*/

#include "bocia_uart.h"
#include <stdio.h>
#include "xtimer.h"
#include "periph/gpio.h"
#include "proto_uart.h"

#define ENABLE_DEBUG (1)
#include "debug.h"
Expand Down
2 changes: 1 addition & 1 deletion burba/sys/bocia/bocia_mqtt.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
*/

#include "mqtt.h"
#include "bocia_mqtt.h"
#include "MQTTPacket.h"

#define ENABLE_DEBUG (1)
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
*
*/

#ifndef SYS_INCLUDE_PROTO_UART_H_
#define SYS_INCLUDE_PROTO_UART_H_
#ifndef SYS_INCLUDE_BOCIA_UART_H_
#define SYS_INCLUDE_BOCIA_UART_H_

#include "bocia.h"

Expand All @@ -46,5 +46,5 @@ void protobuf_to_uart(channel_reader_t * rd, proto_msg_t type, void* obj);

/**@}*/

#endif /* SYS_INCLUDE_PROTO_UART_H_ */
#endif /* SYS_INCLUDE_BOCIA_UART_H_ */

5 changes: 3 additions & 2 deletions burba/tests/memory/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#include "proto_uart.h"


#include "bocia_uart.h"
#include "messages.pb-c.h"


Expand Down

0 comments on commit dd79dad

Please sign in to comment.