view examples/samples/SampleData.h @ 328:abd7795dad5d prerelease

relaxed the loop when set_startup.sh -l (added a sleep in there). This way if the file fails to load, the board is still operable, see #1698
author Giulio Moro <giuliomoro@yahoo.it>
date Fri, 03 Jun 2016 17:15:56 +0100
parents dbeed520b014
children
line wrap: on
line source
/*
 * SampleData.h
 *
 *  Created on: Nov 5, 2014
 *      Author: Victor Zappi
 */

#ifndef SAMPLEDATA_H_
#define SAMPLEDATA_H_

// User defined structure to pass between main and rendere complex data retrieved from file
struct SampleData {
	float *samples;	// Samples in file
	int sampleLen;	// Total nume of samples
};



#endif /* SAMPLEDATA_H_ */