* insist on setBoardConfigOverrides fix #4614 * insist on setBoardConfigOverrides fix #4614 * insist on setBoardConfigOverrides fix #4614 * insist on setBoardConfigOverrides fix #4614 * insist on setBoardConfigOverrides fix #4614
This commit is contained in:
parent
3b5ee8da51
commit
cab0177df0
|
@ -17,7 +17,7 @@ Release template (copy/paste this for new release):
|
|||
-
|
||||
|
||||
### Fixed
|
||||
-
|
||||
- Enforce board configuration overrides more strictly #4614
|
||||
|
||||
-->
|
||||
|
||||
|
|
|
@ -190,6 +190,8 @@ void TunerStudio::handleWriteChunkCommand(TsChannelBase* tsChannel, ts_response_
|
|||
uint8_t * addr = (uint8_t *) (getWorkingPageAddr() + offset);
|
||||
memcpy(addr, content, count);
|
||||
}
|
||||
// Force any board configuration options that humans shouldn't be able to change
|
||||
setBoardConfigOverrides();
|
||||
|
||||
sendOkResponse(tsChannel, mode);
|
||||
}
|
||||
|
@ -240,6 +242,8 @@ void TunerStudio::handleWriteValueCommand(TsChannelBase* tsChannel, ts_response_
|
|||
if (!rebootForPresetPending) {
|
||||
getWorkingPageAddr()[offset] = value;
|
||||
}
|
||||
// Force any board configuration options that humans shouldn't be able to change
|
||||
setBoardConfigOverrides();
|
||||
}
|
||||
|
||||
void TunerStudio::handlePageReadCommand(TsChannelBase* tsChannel, ts_response_format_e mode, uint16_t offset, uint16_t count) {
|
||||
|
|
|
@ -181,3 +181,6 @@ CANDriver* detectCanDevice(brain_pin_e pinRx, brain_pin_e pinTx) {
|
|||
return &CAND1;
|
||||
}
|
||||
#endif // HAL_USE_CAN
|
||||
|
||||
void setBoardConfigOverrides() {
|
||||
}
|
||||
|
|
|
@ -25,3 +25,7 @@ efitick_t getTimeNowNt() {
|
|||
|
||||
void initLogging(LoggingWithStorage *logging, const char *name) {
|
||||
}
|
||||
|
||||
void setBoardConfigOverrides() {
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue