Project

General

Profile

Revision 942

Simulator library compiles but doesn't do anything.

View differences:

encoders.c
1 1
#include "encoders.h"
2
#include "util.h"
2 3

  
3 4
void encoders_init(void)
4 5
{
......
8 9
int encoder_read(char encoder)
9 10
{
10 11
	UNIMPLEMENTED
12
	return -1;
11 13
}
12 14

  
13 15
int encoder_get_dx(char encoder)
14 16
{
15 17
	UNIMPLEMENTED
18
	return -1;
16 19
}
17 20

  
18 21
void encoder_rst_dx(char encoder)
......
23 26
int encoder_get_tc(void)
24 27
{
25 28
	UNIMPLEMENTED
29
	return -1;
26 30
}
27 31

  
28 32
void encoder_rst_tc(void)

Also available in: Unified diff