Skip to content

Using dynamic addresses with functions Firebase.RTDB.set(&obj,F(dir.),value);, error: nitializer fails to determine size of '__pstr__' #647

Answered by mobizt
vicgig90 asked this question in Q&A
Discussion options

You must be logged in to vote

The F macro cannot be used like that, and it is not necessary to use it.
F("dir"+String(counter))

You should write something like this instead.
"dir"+String(counter)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@vicgig90
Comment options

Answer selected by vicgig90
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