comparison Discovery/Inc/tStructure.h @ 805:dd7ce655db26

Adds a simple countdown timer, available as a custom view in surface and dive mode. This can be used to time safety stops, or to prebreathe a CCR (or to boil your breakfast eggs if you are so inclined). The duration of the timer is configurable from 1 second to 9:59 minutes in the System menu. The timer is started by switching to the custom view, and remaining on it until a 10 second delay has elapsed. Once the timer has started the custom view can be changed and the timer will continue running in the background. After the timer has run out 'Finished' will be shown for 10 seconds in the timer custom view, and then automatic switching of custom views (if configured) resumes. In surface mode the dive computer will not go to sleep while the timer is running, and a mini timer will be shown when the timer custom view is not showing. (mikeller)
author heinrichsweikamp
date Mon, 21 Aug 2023 17:20:07 +0200
parents 4abfb8a2a435
children 4c41d9a18c7f
comparison
equal deleted inserted replaced
804:391b3d420a39 805:dd7ce655db26
302 #define StMSYS1_MMDDYY _MB(2,8,1,4,0) 302 #define StMSYS1_MMDDYY _MB(2,8,1,4,0)
303 #define StMSYS1_YYMMDD _MB(2,8,1,5,0) 303 #define StMSYS1_YYMMDD _MB(2,8,1,5,0)
304 #define StMSYS1_DST _MB(2,8,1,6,0) 304 #define StMSYS1_DST _MB(2,8,1,6,0)
305 #define StMSYS1_12HR _MB(2,8,1,7,0) 305 #define StMSYS1_12HR _MB(2,8,1,7,0)
306 306
307 #define StMSYS2_English _MB(2,8,2,1,0) 307 #define StMSYS_Timer _MB(2,8,2,1,0)
308 #define StMSYS2_German _MB(2,8,2,2,0) 308
309 #define StMSYS2_French _MB(2,8,2,3,0) 309 #define StMSYS2_English _MB(2,8,3,1,0)
310 #define StMSYS2_Italian _MB(2,8,2,4,0) 310 #define StMSYS2_German _MB(2,8,3,2,0)
311 #define StMSYS2_Espanol _MB(2,8,2,5,0) 311 #define StMSYS2_French _MB(2,8,3,3,0)
312 312 #define StMSYS2_Italian _MB(2,8,3,4,0)
313 #define StMSYS3_Units _MB(2,8,3,1,0) 313 #define StMSYS2_Espanol _MB(2,8,3,5,0)
314 #define StMSYS3_Colors _MB(2,8,3,2,0) 314
315 #define StMSYS3_Debug _MB(2,8,3,3,0) 315 #define StMSYS3_Units _MB(2,8,4,1,0)
316 316 #define StMSYS3_Colors _MB(2,8,4,2,0)
317 #define StMSYS4_Info _MB(2,8,4,1,0) 317 #define StMSYS3_Debug _MB(2,8,4,3,0)
318 318
319 #define StMSYS5_Exit _MB(2,8,5,1,0) 319 #define StMSYS4_Info _MB(2,8,5,1,0)
320 #define StMSYS5_LogbookOffset _MB(2,8,5,7,0) 320
321 #define StMSYS5_ResetAll _MB(2,8,5,2,0) 321 #define StMSYS5_Exit _MB(2,8,6,1,0)
322 #define StMSYS5_ResetDeco _MB(2,8,5,3,0) 322 #define StMSYS5_LogbookOffset _MB(2,8,6,7,0)
323 #define StMSYS5_Reboot _MB(2,8,5,4,0) 323 #define StMSYS5_ResetAll _MB(2,8,6,2,0)
324 #define StMSYS5_Maintenance _MB(2,8,5,5,0) 324 #define StMSYS5_ResetDeco _MB(2,8,6,3,0)
325 #define StMSYS5_ResetLogbook _MB(2,8,5,6,0) 325 #define StMSYS5_Reboot _MB(2,8,6,4,0)
326 #define StMSYS5_SetBattCharge _MB(2,8,5,7,0) 326 #define StMSYS5_Maintenance _MB(2,8,6,5,0)
327 #define StMSYS5_RebootRTE _MB(2,8,5,8,0) 327 #define StMSYS5_ResetLogbook _MB(2,8,6,6,0)
328 #define StMSYS5_RebootMainCPU _MB(2,8,5,9,0) 328 #define StMSYS5_SetBattCharge _MB(2,8,6,7,0)
329 #define StMSYS5_ScreenTest _MB(2,8,5,10,0) 329 #define StMSYS5_RebootRTE _MB(2,8,6,8,0)
330 #define StMSYS5_SetFactoryBC _MB(2,8,5,11,0) 330 #define StMSYS5_RebootMainCPU _MB(2,8,6,9,0)
331 #define StMSYS5_ResetBluetooth _MB(2,8,5,12,0) 331 #define StMSYS5_ScreenTest _MB(2,8,6,10,0)
332 #define StMSYS5_SetSampleIndx _MB(2,8,5,13,0) 332 #define StMSYS5_SetFactoryBC _MB(2,8,6,11,0)
333 #define StMSYS5_ResetBluetooth _MB(2,8,6,12,0)
334 #define StMSYS5_SetSampleIndx _MB(2,8,6,13,0)
333 335
334 /* PAGE 9 */ 336 /* PAGE 9 */
335 337
336 # define StMCustom _MB(2,9,0,0,0) 338 # define StMCustom _MB(2,9,0,0,0)
337 339