summaryrefslogtreecommitdiffstats
path: root/quantum/split_common/split_util.h
blob: f83b05b6a636cd05e2560617b7811ba9bd587312 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#pragma once

#include <stdbool.h>
#include <stdint.h>

#include "matrix.h"

extern volatile bool isLeftHand;

void split_pre_init(void);
void split_post_init(void);

bool transport_master_if_connected(matrix_row_t master_matrix[], matrix_row_t slave_matrix[]);
bool is_transport_connected(void);

void split_watchdog_update(bool done);
void split_watchdog_task(void);
bool split_watchdog_check(void);