mirror of
https://github.com/danbulant/Cosmos
synced 2026-06-10 18:21:20 +00:00
This commit is contained in:
parent
7cbd92932f
commit
2415db0ff7
2 changed files with 5 additions and 5 deletions
|
|
@ -226,10 +226,10 @@ namespace Cosmos.Hardware {
|
|||
}
|
||||
|
||||
public static void WriteSerialString(string aData) {
|
||||
//for (int i = 0; i < aData.Length; i++) {
|
||||
// Serial.WriteSerial(0, (byte)aData[i]);
|
||||
//}
|
||||
Console.Write(aData);
|
||||
for (int i = 0; i < aData.Length; i++) {
|
||||
Serial.WriteSerial(0, (byte)aData[i]);
|
||||
}
|
||||
//Console.Write(aData);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -29,7 +29,7 @@ namespace Cosmos.Kernel {
|
|||
int xEnd = (RTC.GetMinutes() * 60) + RTC.GetSeconds();
|
||||
int xDiff = xEnd - xStart;
|
||||
Console.Write("Time to clear ");
|
||||
Hardware.Storage.ATAOld.WriteNumber(xDiff, 32);
|
||||
Hardware.Storage.ATAOld.WriteNumber((uint)xDiff, 32);
|
||||
Console.WriteLine("");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue