forked from speeduino/speeduino
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix warning/error with use of max() and signed variable
- Loading branch information
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
f14edc6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@noisymime Won't this set the injection angle to
CRANK_ANGLE_MAX_INJ
every time? Should it bemin(currentStatus.injAngle, uint16_t(CRANK_ANGLE_MAX_INJ) );
?f14edc6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This has already been updated: https://github.com/noisymime/speeduino/blob/63a1a1c4f5ece413b46a18036428a20199b796ee/speeduino/speeduino.ino#L482