simulator does not compile for pchmura4 on gcc13 #5644
This commit is contained in:
parent
dbe8b6294d
commit
b7b477bc77
|
@ -20,7 +20,7 @@ static scaled_channel<uint32_t, TIME_PRECISION> packedTime;
|
|||
// The list of logged fields lives in a separate file so it can eventually be tool-generated
|
||||
#include "log_fields_generated.h"
|
||||
|
||||
static constexpr uint16_t computeFieldsRecordLength() {
|
||||
static const uint16_t computeFieldsRecordLength() {
|
||||
uint16_t recLength = 0;
|
||||
for (size_t i = 0; i < efi::size(fields); i++) {
|
||||
recLength += fields[i].getSize();
|
||||
|
|
|
@ -81,7 +81,7 @@ public class LiveDataProcessor {
|
|||
}
|
||||
|
||||
public static void wrapContent(LazyFile output, String content) {
|
||||
output.write("static constexpr LogField fields[] = {\r\n" +
|
||||
output.write("static const LogField fields[] = {\r\n" +
|
||||
"{packedTime, GAUGE_NAME_TIME, \"sec\", 0},\n");
|
||||
output.write(content);
|
||||
output.write("};\r\n");
|
||||
|
|
Loading…
Reference in New Issue