forked from GerhardHoffmann/DCLibraries
Minor: only hwinf as parameter needed
This commit is contained in:
parent
23619543b2
commit
8a380c9845
@ -2,9 +2,9 @@
|
|||||||
#include "shared_mem_buffer.h"
|
#include "shared_mem_buffer.h"
|
||||||
#include "hwapi.h"
|
#include "hwapi.h"
|
||||||
|
|
||||||
DownloadThread::DownloadThread(hwinf *hw, QString const &fileToDownload)
|
DownloadThread::DownloadThread(hwinf *hw)
|
||||||
: m_hw(hw)
|
: m_hw(hw)
|
||||||
, m_fileToDownload(fileToDownload) {
|
, m_fileToDownload(m_hw->dcDownloadFileName()) {
|
||||||
}
|
}
|
||||||
|
|
||||||
DownloadThread::~DownloadThread() {
|
DownloadThread::~DownloadThread() {
|
||||||
@ -12,7 +12,7 @@ DownloadThread::~DownloadThread() {
|
|||||||
|
|
||||||
// download thread running in ca-master sends the dc-file down to firmware
|
// download thread running in ca-master sends the dc-file down to firmware
|
||||||
void DownloadThread::run() {
|
void DownloadThread::run() {
|
||||||
m_hw->dcDownloadInit(m_fileToDownload);
|
// m_hw->dcDownloadInit(m_fileToDownload);
|
||||||
|
|
||||||
// hier dann den eigentlichen download-process eintragen
|
// hier dann den eigentlichen download-process eintragen
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user