Project

General

Profile

Revision 1496

Reverted "libdragonfly" folder back to version before Init Checking was implemented and did "make dist" to recompile the library. BOM LEDs now shine
correctly.

View differences:

spi.h
23 23
#define SS   _BV(PB0)
24 24
#define SCLK _BV(PB1)
25 25

  
26
typedef int (*spi_fun_recv_t)(char);
26
typedef void (*spi_fun_recv_t)(char);
27 27
typedef void (*spi_fun_recv_complete_t)(void);
28 28

  
29 29
/** 
......
32 32
* @param spi_fun_recv_t The function that handles SPI data, byte for byte.
33 33
* @param spi_fun_recv_complete_t  Called on a completed transmission - typically for cleaning up.
34 34
*/
35
int spi_init (spi_fun_recv_t, spi_fun_recv_complete_t);
35
void spi_init (spi_fun_recv_t, spi_fun_recv_complete_t);
36 36

  
37 37
/** 
38 38
* @brief Initialize SPI transfer.
39 39
* 
40 40
* @param char The number of bytes to transfer.
41 41
*/
42
int spi_transfer (char);
42
void spi_transfer (char);
43 43

  
44 44
/**@}**/ //end group
45 45

  

Also available in: Unified diff