From 4b84b3853e72fe3a7262774abb963eff901381fe Mon Sep 17 00:00:00 2001 From: flo Date: Sun, 26 Feb 2017 21:58:37 +0100 Subject: [PATCH] struct --- include/sound4calc.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/include/sound4calc.h b/include/sound4calc.h index 2531984..d9b5ebe 100644 --- a/include/sound4calc.h +++ b/include/sound4calc.h @@ -1,6 +1,13 @@ #ifndef _SOUND4CALC_H #define _SOUND4CALC_H + +struct Wave +{ + char* signal; + unsigned short length; +}; + extern struct Note { struct Wave wave; @@ -8,11 +15,6 @@ extern struct Note unsigned int freq; } note; -struct Wave -{ - char* signal; - unsigned short length; -}; void CallSequence(); void CallNote();