CAN Update
This commit is contained in:
@@ -25,9 +25,9 @@ char driverSWUART2PutCharInOutputBuffer(char character, FILE *stream) {
|
||||
bool driverSWUART2Task(void) {
|
||||
char outputChar;
|
||||
|
||||
if(!driverSWUART2OutputBuffer->isEmpty(driverSWUART2OutputBuffer)){ // Check if there is data in the ouput buffer
|
||||
if(!driverSWUART2OutputBuffer->isEmpty(driverSWUART2OutputBuffer)){ // Check if there is data in the ouput buffer
|
||||
driverSWUART2OutputBuffer->pull(driverSWUART2OutputBuffer,&outputChar); // Pull the data from ouput buffer
|
||||
driverHWUART2SendChar(outputChar); // And send it to the uart
|
||||
driverHWUART2SendChar(outputChar); // And send it to the uart
|
||||
}
|
||||
|
||||
return !driverSWUART2OutputBuffer->isEmpty(driverSWUART2OutputBuffer);
|
||||
|
||||
Reference in New Issue
Block a user