Minor: only hwinf as parameter needed

This commit is contained in:
Gerhard Hoffmann 2023-12-02 09:44:51 +01:00
parent 23619543b2
commit 8a380c9845

View File

@ -2,9 +2,9 @@
#include "shared_mem_buffer.h"
#include "hwapi.h"
DownloadThread::DownloadThread(hwinf *hw, QString const &fileToDownload)
DownloadThread::DownloadThread(hwinf *hw)
: m_hw(hw)
, m_fileToDownload(fileToDownload) {
, m_fileToDownload(m_hw->dcDownloadFileName()) {
}
DownloadThread::~DownloadThread() {
@ -12,7 +12,7 @@ DownloadThread::~DownloadThread() {
// download thread running in ca-master sends the dc-file down to firmware
void DownloadThread::run() {
m_hw->dcDownloadInit(m_fileToDownload);
// m_hw->dcDownloadInit(m_fileToDownload);
// hier dann den eigentlichen download-process eintragen