From b403b38e4862d19abf0aed305e0c37a996e1778c Mon Sep 17 00:00:00 2001 From: heck Date: Sat, 23 Jan 2021 23:36:37 +0100 Subject: [PATCH] typo --- examples/ext/synth_shed/tests/test_synth_shed.py | 4 ++-- examples/lib/lib_synth_shed/synth_shed.c | 4 ++-- examples/lib/lib_synth_shed/synth_shed.h | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/examples/ext/synth_shed/tests/test_synth_shed.py b/examples/ext/synth_shed/tests/test_synth_shed.py index 28bcb87..0ad9910 100644 --- a/examples/ext/synth_shed/tests/test_synth_shed.py +++ b/examples/ext/synth_shed/tests/test_synth_shed.py @@ -18,14 +18,14 @@ def test_Fds() : print("brand:", s.brand) print("model:", s.model) print("osc_count", s.osc_count) - print("technolgy:",s.technolgy) + print("technology:",s.technology) print("filter.tech:",s.filter.technology) print("filter.type:",s.filter.type) assert s.brand == brand assert s.model == model assert s.osc_count == osc_count - assert s.technolgy == synth_shed._tech.ANALOG + assert s.technology == synth_shed._tech.ANALOG assert s.filter.technology == synth_shed._tech.ANALOG assert s.filter.type == synth_shed._filtertype.LPF diff --git a/examples/lib/lib_synth_shed/synth_shed.c b/examples/lib/lib_synth_shed/synth_shed.c index 86f05bf..7c058d6 100644 --- a/examples/lib/lib_synth_shed/synth_shed.c +++ b/examples/lib/lib_synth_shed/synth_shed.c @@ -16,7 +16,7 @@ synth_t* synth_create(const char* brand, const char* model, int osc_count) { new_synth->brand = brand; new_synth->model = model; new_synth->osc_count = osc_count; - new_synth->technolgy = ANALOG; + new_synth->technology = ANALOG; new_synth->filter.technology = ANALOG; new_synth->filter.type = LPF; } @@ -78,7 +78,7 @@ const char* play_synth(synth_t* synth) { char osc[4]; sprintf(osc, "%i", synth->osc_count); - const char* tech = tech_to_string(&synth->technolgy); + const char* tech = tech_to_string(&synth->technology); const char* filt_tech = tech_to_string(&synth->filter.technology); const char* filt_type = filtertype_to_string(&synth->filter.type); diff --git a/examples/lib/lib_synth_shed/synth_shed.h b/examples/lib/lib_synth_shed/synth_shed.h index 3a74ccc..fe432cb 100644 --- a/examples/lib/lib_synth_shed/synth_shed.h +++ b/examples/lib/lib_synth_shed/synth_shed.h @@ -34,8 +34,8 @@ struct _synth { const char* brand; const char* model; int osc_count; - tech_t technolgy; - filter_t filter; + tech_t technology; + filter_t filter[3]; };