Commit Graph
25 Commits
Author SHA1 Message Date
bsongis 6511ae173d Fixes #1191 2014-06-06 11:54:13 +02:00
bsongis 86a8e6a128 Fixes #1157 2014-06-05 12:05:53 +02:00
Andre Bernet b593d871a6 Fixes #1175 (display part missing) 2014-06-04 10:37:19 +02:00
bsongis d18c6c9985 Fixes #1175 2014-06-04 10:08:40 +02:00
bsongis 64e84f1af9 Fixes #1173 2014-06-04 09:52:13 +02:00
bsongis 0ea3daa4c4 Bug found in Pots Warning (Auto mode) 2014-06-02 11:01:21 +02:00
bsongis a178d6b326 Fixes #1122 2014-05-20 14:32:27 +02:00
bsongis 49a4d5ecb1 Gtests KO 2014-05-19 15:12:23 +02:00
bsongis 1a7ff9239d A couple of changes on top of projectkkglider branch 2014-05-19 14:52:07 +02:00
bsongis dffb5a7a79 Bad structure alignment (the compiler does the job, but it's better to
write it so we see where are the lost bits)
2014-05-19 11:07:51 +02:00
Damjan Adamic df971b0e77 Cosmetics 2014-05-18 18:44:07 +02:00
Damjan Adamic 9dcaccc87f Cosmetics 2014-05-18 18:09:23 +02:00
Damjan Adamic e14734c8af Reduced number of logical switch context to 2. Now we have only active fm context (lswFM[0]) and other context that is used for all other fms (lswFm[1]).
Much smaller RAM usage, but possible (I beleave unimportant) errors when trasitioning between more than two flight modes.
2014-05-18 18:08:41 +02:00
Damjan Adamic fbb1b65fd6 Delay and Duration using 1 x uint8_t instead of 2 x uint32_t.
Timing for delay and duration is not as accurate as before, max error possible is +-100ms.

Worst case example: duration set at 0.1s will produce output pulse of width between 10ms (min mixer loop  time) and 200ms.

But RAM saving is BIG, unfortunately only on ARM.
2014-05-18 16:47:15 +02:00
Damjan Adamic d6a150738c Cosmetics 2014-05-17 19:56:00 +02:00
Damjan Adamic 1491d3b236 Renamed lswReset() to logicalSwitchesReset()
Added PACKED to logical switches data structures
2014-05-17 19:38:23 +02:00
Damjan Adamic d32b869582 CRLF 2014-05-17 18:23:36 +02:00
Damjan Adamic 07a5333a08 Fixes #1039:
* order of logical switches calculaton now predicable: always from L1 to L64
* each flight mode has its own logical switches context (RAM usage multiplied by number of flight modes)
* resolved problem of non-reentrancy of getSwitch() function
2014-05-17 17:51:33 +02:00
Damjan Adamic 6e5f064c31 One more rename 2014-05-17 17:06:29 +02:00
Damjan Adamic c2031934e0 Reenabled missing #if 2014-05-17 16:20:08 +02:00
Damjan Adamic 34e1a0ce86 All references to "custom switches" renamed to "logical switches" 2014-05-17 15:29:31 +02:00
Damjan Adamic 8c21462f74 More switches code moved to switches.cpp 2014-05-17 15:29:31 +02:00
bsongis 6c17fee19b Fixes #1107 2014-05-17 07:52:31 +02:00
bsongis 2fbd4ff13a Mixer code splitted differently 2014-05-15 12:08:57 +02:00
bsongis 8b2769a734 Switches code moved to a separate file 2014-05-09 18:05:29 +02:00