comparison Discovery/Src/tMenuSystem.c @ 212:c878a08dcf86

Merged in janlmulder/ostc4/cv-persistent (pull request #10) Custom views persistent and better support for mCCR
author heinrichsweikamp <bitbucket@heinrichsweikamp.com>
date Tue, 26 Mar 2019 22:23:26 +0000
parents b2a9e9b02df0
children 0dbf550dc743
comparison
equal deleted inserted replaced
209:2de856965c55 212:c878a08dcf86
57 uint8_t id; 57 uint8_t id;
58 58
59 for(int i=0; i<6;i++) 59 for(int i=0; i<6;i++)
60 { 60 {
61 id = cv_changelist[i]; 61 id = cv_changelist[i];
62 text[textPointer++] = '\006' - CHECK_BIT_THOME(cv_configuration,id); 62 text[textPointer++] = '\006' - CHECK_BIT_THOME(data->cv_configuration,id);
63 text[textPointer++] = ' '; 63 text[textPointer++] = ' ';
64 textPointer += snprintf(&text[textPointer], 60, 64 textPointer += snprintf(&text[textPointer], 60,
65 "%c%c\n\r", 65 "%c%c\n\r",
66 TXT_2BYTE, customview_TXT2BYTE_helper(id) 66 TXT_2BYTE, customview_TXT2BYTE_helper(id)
67 ); 67 );