Skip to content

Conversation

@pierreluctg
Copy link
Collaborator

No description provided.

:param int channel:
The Channel id or name to create this bus with.
:param list channel:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ics_msg.StatusBitField3 & ics.SPY_STATUS3_CANFD_BRS
),
channel=ics_msg.NetworkID
channel=int(ics_msg.NetworkID)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't this already an int? If not, wouldn't line 221 fail?

if msg.channel is not None:
message.NetworkID = msg.channel
else:
# defaults to the first channel in channels
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could be surprising! We should at least document this clearly, or maybe even raise an Exception? Another option would be to send it to all, but I guess that is unexpected as well?

@codecov
Copy link

codecov bot commented Sep 17, 2018

Codecov Report

Merging #415 into develop will decrease coverage by 0.13%.
The diff coverage is 4.54%.

@@             Coverage Diff             @@
##           develop     #415      +/-   ##
===========================================
- Coverage    61.65%   61.51%   -0.14%     
===========================================
  Files           55       55              
  Lines         4572     4584      +12     
===========================================
+ Hits          2819     2820       +1     
- Misses        1753     1764      +11

@felixdivo felixdivo added this to the 2.3 Release milestone Sep 23, 2018
@felixdivo felixdivo merged commit 24c50df into hardbyte:develop Sep 23, 2018
@felixdivo felixdivo mentioned this pull request Sep 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants