Mercurial > public > ostc4
comparison Discovery/Src/base.c @ 1035:5b913cdaa9dc Puls_Integration
Degub message logger:
Added functionality to handle logger view (in case it is enabled via compile switch) like a normal t7 custom view.
| author | Ideenmodellierer |
|---|---|
| date | Sat, 09 Aug 2025 16:55:20 +0200 |
| parents | 195bfbdf961d |
| children | 5865f0aeb438 |
comparison
equal
deleted
inserted
replaced
| 1034:195bfbdf961d | 1035:5b913cdaa9dc |
|---|---|
| 735 static void RefreshDisplay() | 735 static void RefreshDisplay() |
| 736 { | 736 { |
| 737 SStateList status; | 737 SStateList status; |
| 738 get_globalStateList(&status); | 738 get_globalStateList(&status); |
| 739 | 739 |
| 740 if((status.base != 0) && (InfoLogger_isUpdated())) | 740 #ifdef ENABLE_LOGGER_WINDOW |
| 741 if((status.base != 0) && (get_globalState() != StILOGGER) && (InfoLogger_isUpdated())) | |
| 741 { | 742 { |
| 742 openInfo_Logger(); | 743 openInfo_Logger(); |
| 743 get_globalStateList(&status); | 744 get_globalStateList(&status); |
| 744 } | 745 } |
| 746 #endif | |
| 745 | 747 |
| 746 switch(status.base) | 748 switch(status.base) |
| 747 { | 749 { |
| 748 case BaseHome: | 750 case BaseHome: |
| 749 tHome_refresh(); | 751 tHome_refresh(); |
| 932 case InfoPageLogShow: sendActionToInfoLogShow(action); | 934 case InfoPageLogShow: sendActionToInfoLogShow(action); |
| 933 break; | 935 break; |
| 934 case InfoPageSensor: sendActionToInfoSensor(action); | 936 case InfoPageSensor: sendActionToInfoSensor(action); |
| 935 break; | 937 break; |
| 936 case InfoPagePreDive: sendActionToInfoPreDive(action); | 938 case InfoPagePreDive: sendActionToInfoPreDive(action); |
| 939 break; | |
| 940 case InfoPageLogger: exitInfo(); | |
| 937 break; | 941 break; |
| 938 default: sendActionToInfo(action); | 942 default: sendActionToInfo(action); |
| 939 break; | 943 break; |
| 940 } | 944 } |
| 941 break; | 945 break; |
