aboutsummaryrefslogtreecommitdiff
path: root/client/cmd.cpp
blob: 99a4dd64e30a624c50de6bec7912f221f321230f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <cstdlib>
#include <string.h>

#include "cmd.h"
#include "sock.h"

void cmd_exit(char*) {
	exit(EXIT_SUCCESS);
}

void cmd_test(char*) {
	const char* data = "Hello world!";
	i2c_send(0x39, (char*) data, strlen(data));
}