mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-05-30 00:08:03 +00:00
forgot "if (WriteToUART)"
This commit is contained in:
parent
b9b5b57929
commit
5f03d287d3
@ -26,13 +26,14 @@ namespace Video
|
|||||||
this->Buffers[Index]->Color = (this->Buffers[Index]->Color << 4) | (Char - 'A' + 10);
|
this->Buffers[Index]->Color = (this->Buffers[Index]->Color << 4) | (Char - 'A' + 10);
|
||||||
else
|
else
|
||||||
this->Buffers[Index]->Color = 0;
|
this->Buffers[Index]->Color = 0;
|
||||||
|
if (WriteToUART)
|
||||||
UniversalAsynchronousReceiverTransmitter::UART(UniversalAsynchronousReceiverTransmitter::COM1).Write(Char);
|
UniversalAsynchronousReceiverTransmitter::UART(UniversalAsynchronousReceiverTransmitter::COM1).Write(Char);
|
||||||
this->ColorPickerIteration++;
|
this->ColorPickerIteration++;
|
||||||
if (this->ColorPickerIteration == 6)
|
if (this->ColorPickerIteration == 6)
|
||||||
{
|
{
|
||||||
this->ColorPickerIteration = 0;
|
this->ColorPickerIteration = 0;
|
||||||
UniversalAsynchronousReceiverTransmitter::UART(UniversalAsynchronousReceiverTransmitter::COM1).Write(']');
|
if (WriteToUART)
|
||||||
|
UniversalAsynchronousReceiverTransmitter::UART(UniversalAsynchronousReceiverTransmitter::COM1).Write(']');
|
||||||
this->ColorIteration = false;
|
this->ColorIteration = false;
|
||||||
}
|
}
|
||||||
return Char;
|
return Char;
|
||||||
@ -45,7 +46,8 @@ namespace Video
|
|||||||
{
|
{
|
||||||
case '\e':
|
case '\e':
|
||||||
{
|
{
|
||||||
UniversalAsynchronousReceiverTransmitter::UART(UniversalAsynchronousReceiverTransmitter::COM1).Write('[');
|
if (WriteToUART)
|
||||||
|
UniversalAsynchronousReceiverTransmitter::UART(UniversalAsynchronousReceiverTransmitter::COM1).Write('[');
|
||||||
this->ColorIteration = true;
|
this->ColorIteration = true;
|
||||||
return Char;
|
return Char;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user