mirror of
https://github.com/nasa/trick.git
synced 2025-06-21 08:29:39 +00:00
ICG exclude of class member variables now defines incorrect memory offsets in io_src #311
Missed some bitfield offset calculations.
This commit is contained in:
@ -443,6 +443,14 @@ void FieldDescription::setBitFieldWidth(unsigned int len) {
|
||||
bitfield_width = len ;
|
||||
}
|
||||
|
||||
void FieldDescription::setBitFieldStart(unsigned int sb) {
|
||||
bitfield_start_bit = sb ;
|
||||
}
|
||||
|
||||
void FieldDescription::setBitFieldByteOffset(unsigned int wo) {
|
||||
bitfield_word_offset = wo ;
|
||||
}
|
||||
|
||||
unsigned int FieldDescription::getBitFieldWidth() {
|
||||
return bitfield_width ;
|
||||
}
|
||||
|
Reference in New Issue
Block a user