Skip to content

Commit

Permalink
Default FTDI clk value to 17 for SCC
Browse files Browse the repository at this point in the history
  • Loading branch information
110-kenichi committed Oct 22, 2022
1 parent 0f45e1c commit 9f57908
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
Binary file modified docs/MAmidiMEmo/Manual.pdf
Binary file not shown.
Binary file modified docs/MAmidiMEmo/Manual.pptx
Binary file not shown.
5 changes: 2 additions & 3 deletions src/mamidimemo/instruments/Chips/SCC1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -232,20 +232,19 @@ private void enableScc(SCCType type, SCCSlotNo slot, bool clearCache)
lock (vsifClient.LockObject)
{
vsifClient.WriteData(3, (byte)(type), (byte)slot, f_ftdiClkWidth);
//vsifClient.Sleep(16);
}
}
if(clearCache)
ClearWrittenDataCache();
}

private int f_ftdiClkWidth = 15;
private int f_ftdiClkWidth = 17;

[DataMember]
[Category("Chip(Dedicated)")]
[SlideParametersAttribute(1, 100)]
[EditorAttribute(typeof(SlideEditor), typeof(System.Drawing.Design.UITypeEditor))]
[DefaultValue(15)]
[DefaultValue(17)]
[Description("Set FTDI Clock Width[%].")]
public int FtdiClkWidth
{
Expand Down

0 comments on commit 9f57908

Please sign in to comment.