Support for Chibios compilation
Remove some warnings, change the include paths.
This commit is contained in:
@ -22,9 +22,17 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifndef SERIAL_LINK_FRAME_ROUTER_H
|
||||
#define SERIAL_LINK_FRAME_ROUTER_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#define UP_LINK 0
|
||||
#define DOWN_LINK 1
|
||||
|
||||
void router_set_master(bool master);
|
||||
void route_incoming_frame(uint8_t link, uint8_t* data, uint16_t size);
|
||||
void router_send_frame(uint8_t destination, uint8_t* data, uint16_t size);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user