Commit 081851e
Merge #622
622: field writer's always generic r=Emilgardis a=burrbull
Alternative to #621
Reverts [7606706](7606706)
Advantages:
- easier generation logic, identical for single fields and field arrays (less potential bugs)
- easier to integrate #612
- less boilerplate, faster compilation
Disadvantages:
- as writer not attached to offsets, not obvious meaning of writer
- bigger firmware in debug mode? (need check)
Co-authored-by: Andrey Zgarbul <zgarbul.andrey@gmail.com>2 files changed
+9
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
696 | 696 | | |
697 | 697 | | |
698 | 698 | | |
699 | | - | |
700 | | - | |
701 | | - | |
702 | | - | |
703 | | - | |
704 | 699 | | |
705 | 700 | | |
706 | 701 | | |
| |||
718 | 713 | | |
719 | 714 | | |
720 | 715 | | |
721 | | - | |
| 716 | + | |
722 | 717 | | |
723 | 718 | | |
724 | 719 | | |
| |||
729 | 724 | | |
730 | 725 | | |
731 | 726 | | |
732 | | - | |
| 727 | + | |
733 | 728 | | |
734 | 729 | | |
735 | 730 | | |
736 | | - | |
| 731 | + | |
737 | 732 | | |
738 | 733 | | |
739 | 734 | | |
740 | | - | |
741 | | - | |
742 | | - | |
743 | | - | |
744 | | - | |
745 | | - | |
746 | | - | |
747 | | - | |
748 | | - | |
749 | | - | |
750 | | - | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
751 | 738 | | |
752 | 739 | | |
753 | 740 | | |
| |||
784 | 771 | | |
785 | 772 | | |
786 | 773 | | |
| 774 | + | |
787 | 775 | | |
788 | 776 | | |
789 | 777 | | |
790 | | - | |
| 778 | + | |
791 | 779 | | |
792 | 780 | | |
793 | 781 | | |
| |||
0 commit comments