display orientation fixed

This commit is contained in:
2023-01-26 12:31:19 +01:00
parent 2ccc6c0307
commit 87332ee9b5

View File

@ -144,7 +144,7 @@ void downLinkDataHandle(McpsIndication_t *mcpsIndication)
Serial.print("+REV DATA:");
sensor_t downlinkSensors[NUM_OF_SENSORS];
if (mcpsIndication->BufferSize != sizeof(downlinkSensors)) {
Serial.println("illegal number of octets in downlink message");
} else {
@ -184,6 +184,7 @@ void productionSetup() {
digitalWrite(Vext,LOW);
display.init();
display.setFont(ArialMT_Plain_16);
display.screenRotate(ANGLE_180_DEGREE);
display.clear();
display.display();