moved payload setting

pico-i2c
alanbjohnston 3 years ago committed by GitHub
parent 8f964a2374
commit 28917e36e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2453,8 +2453,6 @@ void start_payload() {
mpuPresent = 1;
mpu6050.begin();
payload = bmePresent || mpuPresent;
long flag;
float xOffset;
float yOffset;
@ -2517,6 +2515,9 @@ void start_payload() {
Serial.println(f);
}
}
payload = bmePresent || mpuPresent;
pinMode(greenLED, OUTPUT);
pinMode(blueLED, OUTPUT);

Loading…
Cancel
Save

Powered by TurnKey Linux.