Whitespace cleanup (#192)

* Fix whitespace at EOL and EOF; replace tabs

* Normalize line endings
This commit is contained in:
turboencabulator 2021-11-07 17:44:12 -06:00 committed by GitHub
parent 2cb3d45867
commit 1b45b0d112
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
44 changed files with 1173 additions and 1190 deletions

View File

@ -295,4 +295,3 @@ int androidUsbDriver::flashFirmware(void){
mainActivity.callMethod<void>("closeDevice");
return 0;
}

0
Desktop_Interface/bin/firmware/labrafirm_0005_02.hex Executable file → Normal file
View File

View File

@ -81,4 +81,3 @@ void daqForm::updateValues(){
void daqForm::trigger_saveButtonPressed(){
saveButtonPressed();
}

View File

@ -25,4 +25,3 @@ unsigned char expected_variant;
#ifndef PLATFORM_WINDOWS
struct timeval tv;
#endif

View File

@ -47,4 +47,3 @@ extern unsigned char expected_variant;
#define NUM_BYTES_STORED_PER_DAQ_SAMPLE 9
#endif // DESKTOP_SETTINGS_H

View File

@ -229,4 +229,3 @@ void DualChannelController::offsetUpdate_CH2(double newOffset)
}
}

View File

@ -230,7 +230,6 @@ void genericUsbDriver::sendFunctionGenData(functionGen::ChannelID channelID)
if(deviceMode == 5)
qDebug("DEVICE IS IN MODE 5");
if (channelID == functionGen::ChannelID::CH2)
usbSendControl(0x40, 0xa1, timerPeriod, clkSetting, channelData.samples.size(), channelData.samples.data());
else
@ -514,4 +513,3 @@ void genericUsbDriver::checkConnection(){
void genericUsbDriver::bootloaderJump(){
usbSendControl(0x40, 0xa7, 1, 0, 0, NULL);
}

View File

@ -118,7 +118,7 @@ public:
// UARTS decoding
uartStyleDecoder* m_decoder = NULL;
bool m_isDecoding = true;
//DFT
// DFT
AsyncDFT async_dft;
private:
// File I/O

View File

@ -79,4 +79,3 @@ void isoBuffer_file::clearBuffer()
back = 0;
}

View File

@ -98,5 +98,3 @@ uint32_t isoBufferBuffer::capacity() const
{
return m_capacity;
}

View File

@ -1658,4 +1658,3 @@ void isoDriver::setMaxSpectrum(int maxSpectrum)
{
m_spectrumMaxX = static_cast<double>(maxSpectrum);
}

View File

@ -2473,7 +2473,6 @@ void MainWindow::cursorGroupEnabled(bool enabled)
ui->makeCursorsNicer->setTurnedOn(false);
ui->cursorGroup->setEnabled(false);
}
}
void MainWindow::on_actionHide_Widget_Oscilloscope_triggered(bool checked)

View File

@ -90,4 +90,3 @@ void scopeRangeEnterDialog::delayChanged(double val)
{
ui->delayBox->setValue(val);
}

View File

@ -257,4 +257,3 @@ UartParity uartStyleDecoder::parityOf(uint32_t bitField) const
return result ? UartParity::Odd : UartParity::Even;
}

View File

@ -254,4 +254,3 @@ void bufferControl::poke(void){
updateMode();
updateBuffer(0,0);
}

View File

@ -103,4 +103,3 @@ void espoSlider::poke(void){
//qDebug() << "Refreshing to voltage" << ((double) (this->value())) / 20;
voltageChanged(((double) (this->value())) / 20);
}

View File

@ -57,4 +57,3 @@ void swipeyStack::cycleStack(int delta){
void swipeyStack::enableWrapping(bool enabled){
wrapEnabled = enabled;
}