mirror of
https://github.com/davidgiven/fluxengine.git
synced 2025-10-31 11:17:01 -07:00
Adjust the FLX tick rate to something more resembling normality.
This commit is contained in:
@@ -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 */
|
||||
|
||||
|
||||
@@ -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 }
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user