Mercurial > hg > beaglert
annotate projects/filter_FIR/SampleData.h @ 287:4815ed0f21de prerelease
Makefile refactoring:
- avoids recursive call to build with/without main
- takes EXAMPLE parameter. Copies the examples/$(EXAMPLE) folder to projects/$(PROJECT) and $PROJECT defaults to exampleTestProject
- you can now `make run` (TODO: currently re-links, should instead run without linking)
author | Giulio Moro <giuliomoro@yahoo.it> |
---|---|
date | Wed, 18 May 2016 01:46:32 +0100 |
parents | 021ac8a1a4f9 |
children |
rev | line source |
---|---|
victor@2 | 1 /* |
victor@2 | 2 * SampleData.h |
victor@2 | 3 * |
victor@2 | 4 * Created on: Nov 5, 2014 |
victor@2 | 5 * Author: Victor Zappi |
victor@2 | 6 */ |
victor@2 | 7 |
victor@2 | 8 #ifndef SAMPLEDATA_H_ |
victor@2 | 9 #define SAMPLEDATA_H_ |
victor@2 | 10 |
victor@2 | 11 // User defined structure to pass between main and rendere complex data retrieved from file |
victor@2 | 12 struct SampleData { |
victor@2 | 13 float *samples; // Samples in file |
victor@2 | 14 int sampleLen; // Total nume of samples |
victor@2 | 15 }; |
victor@2 | 16 |
victor@2 | 17 |
victor@2 | 18 |
victor@2 | 19 #endif /* SAMPLEDATA_H_ */ |