inspektors/base_station/include/main.h
Rihards Skuja 0d28903b2c
Fix code duplication between both code bases
Both the robot and the base station had a lot of code that was
identical, like data structs, constants, radio library etc. The chosen
solution was to extract all shared code into a static library and link
the station and robot against it.
2018-01-20 22:51:44 +02:00

13 lines
252 B
C

#ifndef MAIN_H
#define MAIN_H
#include <stdint.h>
#include "common.h"
uint8_t tx_address[5] = {0xD7, 0xD7, 0xD7, 0xD7, 0xD7};
uint8_t rx_address[5] = {0xE7, 0xE7, 0xE7, 0xE7, 0xE7};
void convert_raw_to_data(uint8_t *in, data_packet_t *out);
#endif