aboutsummaryrefslogtreecommitdiffstats
path: root/src/split.h
blob: 22a7479b65c585724047c1d0340bc4c83ba9af4d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#pragma once

#define LEFT 0
#define RIGHT 1

#define SLAVE 0
#define MASTER 1

#define SPLIT_OPP(x) ((x) == LEFT ? RIGHT : LEFT)

void split_init(void);
void split_task(void);

extern int split_role;