new version
authorTobias Girstmair <t@thi3nkpad.lan>
Mon, 12 Nov 2018 23:41:13 +0000 (00:41 +0100)
committerTobias Girstmair <t@thi3nkpad.lan>
Mon, 12 Nov 2018 23:41:13 +0000 (00:41 +0100)
foo.c

diff --git a/foo.c b/foo.c
index 6d2d885648ed25c5b00c02e20bef055482af7f64..e9fb8c8d10fa141aa5974cbf3209ef45504f9222 100644 (file)
--- a/foo.c
+++ b/foo.c
@@ -38,7 +38,7 @@ int main(void) {
        //TODO: clear all vars/registers
        for (;;) {
                acc = 0;
-               n = i >> 14;
+               n = (i3<<10 | i2<<2 | i1>>6);
                s = i >> 17;
 
                //voice 1:
Imprint / Impressum