added #ifdef DEBUG_LOGGING around INFO printf messages

pull/24/head
alanbjohnston 7 years ago committed by GitHub
parent 568bab80e1
commit aa2148083c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1071,7 +1071,9 @@ int ax5043_wait_for_transmit() {
/* tx is done */ /* tx is done */
__tx_frame_end(__ax5043_conf); __tx_frame_end(__ax5043_conf);
transmittedPostamble = 0; transmittedPostamble = 0;
printf("INFO: TX done\n"); #ifdef DEBUG_LOGGING
printf("INFO: TX done\n");
#endif
return PQWS_SUCCESS; return PQWS_SUCCESS;
} }
@ -1130,7 +1132,9 @@ int ax5043_wait_for_transmit() {
if (radiostate == 0) { if (radiostate == 0) {
/* tx is done */ /* tx is done */
__tx_active = 0; __tx_active = 0;
printf("INFO: TX done\n"); #ifdef DEBUG_LOGGING
printf("INFO: TX done\n");
#endif
} }
} }
} }

Loading…
Cancel
Save

Powered by TurnKey Linux.