Project

General

Profile

Revision 890

Changed some odometry stuff. Interrupt is called now.
Still some problem that is not updating x and y data.

View differences:

encoders.c
1 1
#include "encoders.h"
2 2
#include "spi.h"
3
#include <dragonfly_lib.h>
3
#include "dragonfly_lib.h"
4 4
#include "ring_buffer.h"
5 5

  
6 6
unsigned int left_data_buf;
......
39 39
inline unsigned int right_data_array_bottom(void);
40 40

  
41 41

  
42
void encoder_recv_complete(){
42
void encoder_recv_complete(void){
43 43
  	encoder_buf_index = 0;
44 44
	data_ready++;
45 45
  

Also available in: Unified diff