boardpanel.py: fix getCPUInfo(), don't report tuples.
This was forgotten with the recent move to storing configuration items as tuples (value, enabled). It should fix the refusal to build reported in issue #86.
This commit is contained in:
parent
cf3b94b980
commit
43626b2ba2
|
|
@ -108,11 +108,11 @@ class BoardPanel(wx.Panel):
|
|||
def getCPUInfo(self):
|
||||
vF_CPU = None
|
||||
if 'F_CPU' in self.cfgValues.keys():
|
||||
vF_CPU = self.cfgValues['F_CPU']
|
||||
vF_CPU = self.cfgValues['F_CPU'][0]
|
||||
|
||||
vCPU = None
|
||||
if 'CPU' in self.cfgValues.keys():
|
||||
vCPU = self.cfgValues['CPU']
|
||||
vCPU = self.cfgValues['CPU'][0]
|
||||
|
||||
return vF_CPU, vCPU
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue