Skip to content

Commit

Permalink
Merge pull request #2 from danoost/master
Browse files Browse the repository at this point in the history
Correct default serial device settings
  • Loading branch information
gizmoguy authored Mar 8, 2019
2 parents cdc376a + 3afca7d commit 48dc9a8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions RexSimulator/Hardware/Rex/SerialIO.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public class SerialIO : MemoryDevice
/// <summary>
/// Set this to the board's primary clock rate. It is used to determine how many clock cycles are required to transmit/receive serial data.
/// </summary>
private readonly uint SYSTEM_CLOCK_RATE = 4000000;
private readonly uint SYSTEM_CLOCK_RATE = 6250000;
#endregion

#region Member Variables
Expand Down Expand Up @@ -182,7 +182,7 @@ public override void Reset()
{
mMemory[i] = 0;
}
Control = 0xC5; //8 data bits, no parity, 1 stop bit, 9600 baud
Control = 0xC7; //8 data bits, no parity, 1 stop bit, 38400 baud
Status = 0x02;
Interrupt(false);
}
Expand Down
4 changes: 2 additions & 2 deletions RexSimulator/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("3.1.0")]
[assembly: AssemblyFileVersion("3.1.0")]
[assembly: AssemblyVersion("3.1.1")]
[assembly: AssemblyFileVersion("3.1.1")]
4 changes: 2 additions & 2 deletions RexSimulatorGui/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("3.2.0")]
[assembly: AssemblyFileVersion("3.2.0")]
[assembly: AssemblyVersion("3.2.1")]
[assembly: AssemblyFileVersion("3.2.1")]

0 comments on commit 48dc9a8

Please sign in to comment.