comparison Discovery/Src/base.c @ 778:74253a41cf80

Zusammenf?hren
author heinrichsweikamp
date Mon, 22 May 2023 09:15:09 +0200
parents 45b8f3c2acce
children dd7ce655db26
comparison
equal deleted inserted replaced
777:6a8cf91e5b22 778:74253a41cf80
1046 1046
1047 1047
1048 void set_globalState_Menu_Line(uint8_t line) 1048 void set_globalState_Menu_Line(uint8_t line)
1049 { 1049 {
1050 globalStateID = ((globalStateID & MaskLineFieldDigit) + (line << 16)); 1050 globalStateID = ((globalStateID & MaskLineFieldDigit) + (line << 16));
1051 }
1052
1053
1054 uint8_t get_globalState_Menu_Line(void)
1055 {
1056 return (globalStateID & ~MaskLineFieldDigit) >> 16;
1051 } 1057 }
1052 1058
1053 1059
1054 void set_globalState(uint32_t newID) 1060 void set_globalState(uint32_t newID)
1055 { 1061 {