Skip to content

Assert failed: invalid base for 'eTime.4' [rtl_433_stats:246:31] -- what does that mean? #287

Answered by hdtodd
hdtodd asked this question in Q&A
Discussion options

You must be logged in to vote

@elisbyberi ,

I can't reproduce it, but I can point to the issue. I tried to create a minimal example, below. It failed to compile until I inserted the line lc = 1 at the start of the code, above the function definition. Even with the global lc in the function definition, if I just defined lc = 1 at the main program, after the function definition, codon errored-out and issued a message name 'lc' is not defined (three times: one for the global definition and two for the use in print statements).

I went back to my original program and defined the offending variables BEFORE any function definitions, and those compile-time errors were resolved. Codon complained that min was used before it was…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by hdtodd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants