Cosmetics

This commit is contained in:
3djc
2021-04-06 09:23:35 +02:00
committed by Raphael Coeffic
parent 8ff0137708
commit f6eca3cf21
2 changed files with 3 additions and 2 deletions
@@ -19,6 +19,7 @@
*/
#include "opentx.h"
#include <memory>
class ModelBitmapWidget: public Widget
{
+2 -2
View File
@@ -79,12 +79,12 @@ class OutputsWidget: public Widget
void twoColumns(BitmapBuffer * dc)
{
uint8_t endColumn = drawChannels(dc, 0, 0, width() / 2, height(),
uint8_t endColumn = drawChannels(dc, 0, 0, (width() / 2) - 1, height(),
persistentData->options[0].value.unsignedValue,
persistentData->options[1].value.boolValue,
persistentData->options[2].value.unsignedValue);
drawChannels(dc, width() / 2 + 2, 0, width() / 2, height(), endColumn + 1,
drawChannels(dc, width() / 2, 0, (width() / 2) - 1, height(), endColumn + 1,
persistentData->options[1].value.boolValue,
persistentData->options[2].value.unsignedValue);
}