1
0
Fork 0

Support for Chibios compilation

Remove some warnings, change the include paths.
This commit is contained in:
Fred Sundvik 2016-02-21 23:17:59 +02:00
parent 8cbfe79dd9
commit 6873b17117
19 changed files with 79 additions and 42 deletions

View file

@ -22,8 +22,10 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/
#include "protocol/triple_buffered_object.h"
#include "system/system.h"
#include "serial_link/protocol/triple_buffered_object.h"
#include "serial_link/system/system.h"
#include <stdbool.h>
#include <stddef.h>
#define GET_READ_INDEX() object->state & 3
#define GET_WRITE_INDEX() (object->state >> 2) & 3