removed while on 2

pico-i2c-isr
alanbjohnston 3 years ago committed by GitHub
parent 2689c6725b
commit eafcaeb112
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -3659,7 +3659,7 @@ bool TimerHandler0(struct repeating_timer *t) {
// Serial.print("-");
if (mode == FSK) {
// if (!i2c_busy_now2) {
while (i2c_busy_now2) { }
/// while (i2c_busy_now2) { }
i2c_busy_now = true;
clockgen.enableOutputOnly(1);
i2c_busy_now = false;
@ -3674,7 +3674,7 @@ bool TimerHandler0(struct repeating_timer *t) {
// Serial.print("_");
if (mode == FSK) {
// if (!i2c_busy_now2) {
while (i2c_busy_now2) { }
/// while (i2c_busy_now2) { }
i2c_busy_now = true;
clockgen.enableOutputOnly(0);
i2c_busy_now = false;

Loading…
Cancel
Save

Powered by TurnKey Linux.