Skip to content

Getting messages on serial line #2

Description

@JFRosado

I'm using the library with a fifo with a size of 60. I'm pushing values to the fifo and removing them when i need to send them over the network. It seems that it's working, however i keep seeing this messages on the serial port:

14:37:50.799 -> Push data 536870912, head: 1078201811, tail: 22, nextTail: 22
14:37:50.833 -> Push data -536870912, head: -1071577915, tail: 22, nextTail: 22
14:37:50.833 -> Push data -1610612736, head: 1079499161, tail: 22, nextTail: 22
14:37:50.833 -> Push data 0, head: 0, tail: 22, nextTail: 22
14:37:50.833 -> Push data 0, head: 22, tail: 22, nextTail: 23
14:37:50.833 -> Push data 14, head: 22, tail: 22, nextTail: 23
14:37:50.833 -> Push data 37, head: 22, tail: 22, nextTail: 23
14:37:50.833 -> Push data 51, head: 22, tail: 22, nextTail: 23
14:37:50.833 -> I'm going to send a message becaaaaaaaaause I've received confirmation and the fifo has 1 elements!
14:37:50.866 -> Pop data 536870912, head: 1078201811, tail: 23
14:37:50.866 -> Pop data -536870912, head: -1071577915, tail: 23
14:37:50.866 -> Pop data -1610612736, head: 1079499161, tail: 23
14:37:50.866 -> Pop data 0, head: 0, tail: 23
14:37:50.866 -> Pop data 0, head: 23, tail: 22
14:37:50.866 -> Pop data 14, head: 23, tail: 22
14:37:50.866 -> Pop data 37, head: 23, tail: 22
14:37:50.866 -> Pop data 51, head: 23, tail: 22

Any reason this is happening?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions