| 465 | } |
| 466 | |
| 467 | void addToRecentCodes(struct RfCodes rfcode) { |
| 468 | // copy rfcode -> recent_rfcodes[recent_rfcodes_last_used] |
| 469 | recent_rfcodes[recent_rfcodes_last_used] = rfcode; |
| 470 | recent_rfcodes_last_used += 1; |
| 471 | if (recent_rfcodes_last_used == 16) recent_rfcodes_last_used = 0; // cycle |
| 472 | } |
| 473 | |
| 474 | struct RfCodes selectRecentRfMenu() { |
| 475 | options = {}; |
no outgoing calls
no test coverage detected