Adjust the FLX tick rate to something more resembling normality.

This commit is contained in:
dg
2022-11-29 20:26:58 +00:00
parent 3d71f32587
commit 2f4b15293a
2 changed files with 3 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
#ifndef FLX_H
#define FLX_H
#define FLX_TICK_NS 50 /* ns per tick */
#define FLX_TICK_NS 40 /* ns per tick */
/* Special FLX opcodes */

View File

@@ -31,13 +31,13 @@ static void test_stream_reader()
/* Simple one-byte intervals */
test_convert(
Bytes{ 0, 0x64, FLX_STOP },
Bytes{ 0xbc }
Bytes{ 0xb0 }
);
/* Index pulse */
test_convert(
Bytes{ 0, 0x64, FLX_INDEX, 0x64, FLX_STOP },
Bytes{ 0xfc, 0xbc }
Bytes{ 0xf0, 0xb0 }
);
}