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

@ -2452,8 +2452,6 @@ void start_payload() {
else {
mpuPresent = 1;
mpu6050.begin();
payload = bmePresent || mpuPresent;
long flag;
float xOffset;
@ -2516,7 +2514,10 @@ void start_payload() {
EEPROM.get(12, f);
Serial.println(f);
}
}
}
payload = bmePresent || mpuPresent;
pinMode(greenLED, OUTPUT);
pinMode(blueLED, OUTPUT);

Loading…
Cancel
Save

Powered by TurnKey Linux.