@@ -1,4 +1,4 | |||||
1 | 1cb664ab4bb3c531d706b1948a378ed9810c0dda src/SocExplorerEngine/PeripheralWidget |
|
1 | 1cb664ab4bb3c531d706b1948a378ed9810c0dda src/SocExplorerEngine/PeripheralWidget | |
2 |
|
|
2 | eee9d5c97f55f377210426c1688224e9adc3dd8d src/common/genericBinaryFiles | |
3 | 2b353bf8243cbfb3db44e196f33bd164c11c9949 src/common/lppserial |
|
3 | 2b353bf8243cbfb3db44e196f33bd164c11c9949 src/common/lppserial | |
4 | 923afde9cc96bb419cf898560d080ec96991aeca src/common/qhexedit |
|
4 | 923afde9cc96bb419cf898560d080ec96991aeca src/common/qhexedit |
@@ -18,7 +18,7 RegsExplorer::~RegsExplorer() | |||||
18 |
|
18 | |||
19 | void RegsExplorer::addDev(socExplorerEnumDevice *device) |
|
19 | void RegsExplorer::addDev(socExplorerEnumDevice *device) | |
20 | { |
|
20 | { | |
21 |
if((delegate.device->sameSoc(device)) |
|
21 | if((delegate.device==NULL)||(delegate.device->sameSoc(device))) | |
22 | { |
|
22 | { | |
23 | delegate.device = device; |
|
23 | delegate.device = device; | |
24 | peripheralWidget* peripheral=new peripheralWidget(device->name(),device->baseAddress(),&delegate,this); |
|
24 | peripheralWidget* peripheral=new peripheralWidget(device->name(),device->baseAddress(),&delegate,this); |
General Comments 0
You need to be logged in to leave comments.
Login now