Project

General

Profile

Revision 1452

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

View differences:

test_rangefinder.c
26 26
#define ON_DELAY 500	// duration of flashes at beginning and end (in ms)
27 27
#define OFF_DELAY 250	// delay between flashes at beginning and end (in ms)
28 28

  
29
int testrangefinder() {
29
int testrangefinder(void) {
30 30
    int i;  // index
31 31
    int sensor[5] = {IR4, IR3, IR2, IR1, IR5};
32 32
    int color[5] = {RED, ORANGE, YELLOW, GREEN, BLUE};

Also available in: Unified diff