Added tz_automatic_dst to MSP2_COMMON_TZ and MSP2_COMMON_SET_TZ#6115
Added tz_automatic_dst to MSP2_COMMON_TZ and MSP2_COMMON_SET_TZ#6115stronnag merged 2 commits intoiNavFlight:masterfrom
Conversation
|
This breaks existing 3rd party applications that use MSP2_COMMON_TZ. The code should accept 2 or 3 bytes to maintain legacy compatibility. |
@stronnag Ok, I'll make changes to MSP2_COMMON_TZ. What about MSP2_COMMON_SET_TZ, is that ok? |
|
@stronnag - Thinking a bit more about it, it's probably better if I create a new MSPCode just for this purpose (to communicate with INAV-configurator). WDYT? |
Apologies, sloppy review comment.
|
Ok, then it's quite easy to fix. Fix coming up! |
The above solution is fine. In general we'd prefer not to add new MSP Ids unless absolutely necessary. |
|
Thanks @Airwide :) |
Added tz_automatic_dst to MSP2_COMMON_TZ and MSP2_COMMON_SET_TZ to be able to set time zone settings from inav-configurator.