Skip to content
This repository was archived by the owner on Sep 16, 2024. It is now read-only.

Conversation

@brotherdust
Copy link

There are various useful debug messages that are commented out in modlte.c. I put each of them in a macro block (I think that's what it's called, correct me if I'm wrong) and un-commented. They can now be activated by setting LTE_DEBUG to 1

Various debug messages were commented out in modlte.c. Instead of commenting them out, they are now only active if LTE_DEBUG is set to 1.
@doniks
Copy link
Contributor

doniks commented Feb 6, 2020

Hi @brotherdust it would actually be useful to have a reasonable debug mode! However, as of now (much to our own delay :( ) this conflicts a lot. Frankly it would need a rewrite. Including deciding a reasonable set of messages because many of these printf aren't even there anymore

I close this, since it needs a rewrite anyway. If you are still interested in this topic please make a new PR and feel free to ping me.

Some nitpicking:

  • let's call it DEBUG_MODLTE
  • please use #ifdef instead of #if and do not indent the precompiler directives.

@doniks doniks closed this Feb 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants