Skip to content

Added keycheck for windows platform - #724

Merged
felixdivo merged 6 commits into
hardbyte:developfrom
tamenol:keycheck
Feb 5, 2020
Merged

Added keycheck for windows platform#724
felixdivo merged 6 commits into
hardbyte:developfrom
tamenol:keycheck

Conversation

@tamenol

@tamenol tamenol commented Nov 14, 2019

Copy link
Copy Markdown
Contributor

PCANBasic will log an error when the PEAK-Driver key could not be found.
I figured this was the best place to add the check, so you don't need to keep a function on a more higher level.

PCANBasic will log an error when the PEAK-Driver key could not be found.
@codecov

codecov Bot commented Nov 14, 2019

Copy link
Copy Markdown

Codecov Report

Merging #724 into develop will increase coverage by 1.25%.
The diff coverage is 86.19%.

@@             Coverage Diff             @@
##           develop     #724      +/-   ##
===========================================
+ Coverage    68.32%   69.58%   +1.25%     
===========================================
  Files           69       70       +1     
  Lines         6235     6493     +258     
===========================================
+ Hits          4260     4518     +258     
  Misses        1975     1975

@hardbyte hardbyte left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

If this is required for using the driver it seems reasonable, if the driver allows any other method of providing the key perhaps we could support it.

@tamenol

tamenol commented Jan 8, 2020

Copy link
Copy Markdown
Contributor Author

Yes, I had problems when running my program on Windows PC's when the driver wasn't installed. This check lets me finish the program in exception when not present.

Comment thread can/interfaces/pcan/basic.py Outdated
@felixdivo
felixdivo merged commit 8ace40b into hardbyte:develop Feb 5, 2020
@tamenol
tamenol deleted the keycheck branch February 5, 2020 14:29
@tamenol tamenol mentioned this pull request Apr 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants