| 111 | } |
| 112 | |
| 113 | void zEntButton_Save(_zEntButton* ent, xSerial* s) |
| 114 | { |
| 115 | zEntSave(ent, s); |
| 116 | |
| 117 | if (ent->state == 3) |
| 118 | { |
| 119 | s->Write_b1(1); |
| 120 | } |
| 121 | else |
| 122 | { |
| 123 | s->Write_b1(0); |
| 124 | } |
| 125 | |
| 126 | if (ent->state == 1) |
| 127 | { |
| 128 | s->Write_b1(1); |
| 129 | } |
| 130 | else |
| 131 | { |
| 132 | s->Write_b1(0); |
| 133 | } |
| 134 | } |
| 135 | |
| 136 | void zEntButton_Load(_zEntButton* ent, xSerial* s) |
| 137 | { |
no test coverage detected