Project

General

Profile

Revision 322

correcting some problems

View differences:

proj/libs/kbc/include/mouse.h
11 11
int (subscribe_mouse_interrupt)(uint8_t interrupt_bit, int *interrupt_id);
12 12

  
13 13
//These have to do with mouse_ih
14
int (mouse_get_got_error_mouse_ih)(void);
15
const uint8_t* (mouse_get_packet_mouse_ih)(void);
16
int (mouse_get_counter_mouse_ih)(void);
17

  
14 18
int got_error_mouse_ih;
15 19
uint8_t packet_mouse_ih[3];
16 20
int counter_mouse_ih;
proj/libs/kbc/src/mouse.c
46 46
}
47 47

  
48 48
int got_error_mouse_ih = 0;
49
uint8_t packet_mouse_ih[3];
49 50
int counter_mouse_ih = 0;
51
int (mouse_get_got_error_mouse_ih)(void){return got_error_mouse_ih; }
52
const uint8_t* (mouse_get_packet_mouse_ih)(void){return packet_mouse_ih; }
53
int (mouse_get_counter_mouse_ih)(void){return counter_mouse_ih; }
50 54

  
51 55
void (mouse_ih)(void) {
52 56
    uint8_t status = 0;

Also available in: Unified diff