Bug 580860 - Incorrect method for assignments in sysfs module
Summary: Incorrect method for assignments in sysfs module
Status: UNCONFIRMED
Alias: None
Product: 4DIAC
Classification: IoT
Component: FORTE (show other bugs)
Version: nightly   Edit
Hardware: PC Windows 10
: P3 normal
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-04 03:55 EDT by Martin Resetarits CLA
Modified: 2022-10-04 03:55 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Resetarits CLA 2022-10-04 03:55:59 EDT
Crosscompimplation Error during sysFS compilation for RaspberryPi

This seems to be a forgotten change of the commit:
Bug 579978 - Fix assignments in sysfs module

Suggested Correction in file:
\org.eclipse.4diac.forte\src\modules\sysfs\sysfsprocint.cpp

Line 25 ff (Bug in Line 29, here the comment, line 30 fix):

CSysFsProcessInterface::CSysFsProcessInterface(CResource *paSrcRes, const SFBInterfaceSpec *paInterfaceSpec,
    const CStringDictionary::TStringId paInstanceNameId, TForteByte *paFBConnData, TForteByte *paFBVarsData) :
    CProcessInterfaceBase(paSrcRes, paInterfaceSpec, paInstanceNameId, paFBConnData, paFBVarsData) {
  mFile.rdbuf()->pubsetbuf(nullptr, 0); //disable buffer to avoid latency  
  // STATUS() = scmNotInitialised;
  STATUS().fromString(scmNotInitialised);
}