Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ void MainWindow::readData()
QByteArray data = serialPort->readAll(); // Read all data in QByteArray

if(!data.isEmpty()) { // If the byte array is not empty
char *temp = data.data(); // Get a '\0'-terminated char* to the data
unsigned char *temp = (unsigned char*)data.data(); // Get a '\0'-terminated char* to the data

if (!filterDisplayedData){
ui->textEdit_UartWindow->append(data);
Expand Down