Mercurial > public > hwos_code
comparison src/menu_tree.asm @ 269:1207cf9a9408
adjust menu for different hardware versions
author | heinrichsweikamp |
---|---|
date | Mon, 20 Apr 2015 11:18:30 +0200 |
parents | ee81f46714cb |
children | 653a3ab08062 |
comparison
equal
deleted
inserted
replaced
268:29acdb601548 | 269:1207cf9a9408 |
---|---|
335 MENU_END | 335 MENU_END |
336 | 336 |
337 | 337 |
338 do_settings_menu_more: | 338 do_settings_menu_more: |
339 btfsc rechargeable ; piezo buttons available | 339 btfsc rechargeable ; piezo buttons available |
340 bra do_settings_menu_more_c3 | 340 bra do_settings_menu_more_piezo |
341 btfsc ble_available ; ble available | 341 btfsc ble_available ; ble available |
342 bra do_settings_menu_more_ble | 342 bra do_settings_menu_more_ostc3p |
343 MENU_BEGIN tSystSets, .6 | 343 MENU_BEGIN tSystSets, .6 |
344 MENU_CALL tCompassMenu, do_compass_menu | 344 MENU_CALL tCompassMenu, do_compass_menu |
345 MENU_CALL tLogOffset, do_log_offset_menu | 345 MENU_CALL tLogOffset, do_log_offset_menu |
346 MENU_OPTION tUnits, oUnits, 0 | 346 MENU_OPTION tUnits, oUnits, 0 |
347 MENU_OPTION tSamplingrate,oSamplingRate,0 | 347 MENU_OPTION tSamplingrate,oSamplingRate,0 |
348 MENU_OPTION tDvSalinity,oDiveSalinity, 0 | 348 MENU_OPTION tDvSalinity,oDiveSalinity, 0 |
349 MENU_CALL tExit, do_return_settings | 349 MENU_CALL tExit, do_return_settings |
350 MENU_END | 350 MENU_END |
351 | 351 |
352 do_settings_menu_more_c3: | 352 do_settings_menu_more_piezo: |
353 MENU_BEGIN tSystSets, .7 | 353 MENU_BEGIN tSystSets, .7 |
354 MENU_CALL tCompassMenu, do_compass_menu | 354 MENU_CALL tCompassMenu, do_compass_menu |
355 MENU_CALL tLogOffset, do_log_offset_menu | 355 MENU_CALL tLogOffset, do_log_offset_menu |
356 MENU_OPTION tUnits, oUnits, 0 | 356 MENU_OPTION tUnits, oUnits, 0 |
357 MENU_OPTION tSamplingrate,oSamplingRate,0 | 357 MENU_OPTION tSamplingrate,oSamplingRate,0 |
360 MENU_CALL tExit, do_return_settings | 360 MENU_CALL tExit, do_return_settings |
361 MENU_END | 361 MENU_END |
362 | 362 |
363 extern comm_mode0 | 363 extern comm_mode0 |
364 | 364 |
365 do_settings_cr_menu: ; Menu with features only available in cR hardware | 365 do_settings_cr_menu: |
366 btfsc ble_available ; ble available | |
367 bra do_settings_menu_more_ostc2 | |
368 ; Menu with features only available in cR hardware | |
366 MENU_BEGIN tSystSets, .4 | 369 MENU_BEGIN tSystSets, .4 |
367 MENU_CALL tUsbTitle, comm_mode0 | 370 MENU_CALL tUsbTitle, comm_mode0 |
368 MENU_OPTION tButtonleft,ocR_button_left ,0 ; left button sensitivity | 371 MENU_OPTION tButtonleft,ocR_button_left ,0 ; left button sensitivity |
369 MENU_OPTION tButtonright,ocR_button_right,0 ; right button sensitivity | 372 MENU_OPTION tButtonright,ocR_button_right,0 ; right button sensitivity |
370 MENU_CALL tExit, do_settings_menu_more_c3 | 373 MENU_CALL tExit, do_settings_menu_more_piezo |
371 MENU_END | 374 MENU_END |
372 | 375 |
373 do_settings_menu_more_ble: ; Menu with BLE feature | 376 do_settings_menu_more_ostc2: |
377 ; Menu OSTC2 | |
378 MENU_BEGIN tSystSets, .4 | |
379 MENU_CALL tBleTitle, comm_mode0 | |
380 MENU_OPTION tButtonleft,ocR_button_left ,0 ; left button sensitivity | |
381 MENU_OPTION tButtonright,ocR_button_right,0 ; right button sensitivity | |
382 MENU_CALL tExit, do_settings_menu_more_piezo | |
383 MENU_END | |
384 | |
385 | |
386 do_settings_menu_more_ostc3p: ; Menu with BLE feature | |
374 MENU_BEGIN tSystSets, .7 | 387 MENU_BEGIN tSystSets, .7 |
375 MENU_CALL tCompassMenu, do_compass_menu | 388 MENU_CALL tCompassMenu, do_compass_menu |
376 MENU_CALL tLogOffset, do_log_offset_menu | 389 MENU_CALL tLogOffset, do_log_offset_menu |
377 MENU_OPTION tUnits, oUnits, 0 | 390 MENU_OPTION tUnits, oUnits, 0 |
378 MENU_OPTION tSamplingrate,oSamplingRate,0 | 391 MENU_OPTION tSamplingrate,oSamplingRate,0 |
379 MENU_OPTION tDvSalinity,oDiveSalinity, 0 | 392 MENU_OPTION tDvSalinity,oDiveSalinity, 0 |
380 MENU_CALL tUsbTitle, comm_mode0 | 393 MENU_CALL tBleTitle, comm_mode0 |
381 MENU_CALL tExit, do_return_settings | 394 MENU_CALL tExit, do_return_settings |
382 MENU_END | 395 MENU_END |
383 | 396 |
384 do_compass_menu: | 397 do_compass_menu: |
385 MENU_BEGIN tSystSets, .2 | 398 MENU_BEGIN tSystSets, .2 |