Project

General

Profile

Revision 1452

update of includes in library, removed unnecessary calls to stdlib.h

View differences:

i2c.c
138 138
 *
139 139
 * @return zero for success, nonzero for failure
140 140
 **/
141
int i2c_send(char dest, char *data, size_t bytes) {
141
int i2c_send(char dest, char *data, unsigned int bytes) {
142 142
    int i;
143 143

  
144 144
    /* adding data to be sent to ring buffers is not atomic,

Also available in: Unified diff