Skip to content

Conversation

@s-hadinger
Copy link
Collaborator

Description:

Berry: when a C function expects an int argument, if a real argument is provided, it is automatically converted to int and rounded.

This is a more generalist solution to #21598

Checklist:

  • The pull request is done against the latest development branch
  • Only relevant files were touched
  • Only one feature/fix was added per PR and the code change compiles without warnings
  • The code change is tested and works with Tasmota core ESP8266 V.2.7.6
  • The code change is tested and works with Tasmota core ESP32 V.3.0.0
  • I accept the CLA.

NOTE: The code change must pass CI tests. Your PR cannot be merged unless tests pass

@s-hadinger s-hadinger merged commit c86e4db into arendst:development Jun 9, 2024
@s-hadinger s-hadinger deleted the berry_round_float_to_int branch January 6, 2025 14:22
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.

1 participant