Changes between Version 154 and Version 155 of Docs/825gen2/Dev/UpdatingLegacyApps


Ignore:
Timestamp:
11/19/25 13:11:47 (2 days ago)
Author:
Don Wilson
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Docs/825gen2/Dev/UpdatingLegacyApps

    v154 v155  
    100100}}}
    101101
    102     //Some legacy apps may have database or other code that expects the 24-hour time preference. In this case it may be best to document that the indicator preference must be set for 24 hour time. It is also possible to check this upon application startup and provide an error message if the preference is 12 hour time.//
     102    //Some legacy apps may have database or other code that expects the 24-hour time preference. In this case it may be best to document that the indicator preference must be set for 24 hour time. It is also possible to check this upon application startup and provide an error message if the preference is 12 hour time. For example://
     103   {{{#!c++
     104if(((struct param_struct*)PARAM_ADDRESS)->datetime_pref.timefmt != 0) {
     105   DrawErrorBox("Preferences must be 24 hour time", 8);
     106   exit(0);
     107}
     108}}}
    103109
    1041104. Also (probably rare) if the app communicates with another system by serial port, network, or file import/export that interprets the data content as binary integers, floats, etc... it may be necessary to make changes to account for different [https://en.wikipedia.org/wiki/Endianness endianness]. The 825 Gen2 is ARM-64 little-endian, The Legacy 825 is Coldfire big-endian.