Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update/ir lib #2083

Merged
merged 4 commits into from Jun 7, 2020
Merged

Update/ir lib #2083

merged 4 commits into from Jun 7, 2020

Conversation

kmihaylov
Copy link
Contributor

@kmihaylov kmihaylov commented Jun 6, 2020

I tried to make the commit comments detailed. In short - the old IR.patch is deleted and new one is introduced. Tried to keep the patch minimal. Only some defines were changed and call to ESP.restart() is changed to System.restart().

The sample is updated in according to the lib.

I hardly can decide if the previous IR.patch is just patching IR lib for Sming, contains update of the IR lib itself (thaw would be wrong) or IR lib patch + Sming features. I saw IRDelegate there and I'm not sure if entirely replacing it would hurt someone's code.

Also I'm not 100% sure that this define macro is OK:

(defined(ESP8266) && defined(F_CPU) == 160000000L)

defined(F_CPU) == 160000000L

However this compiles OK and works for me (compared to the non-updated version).

Edit: I also didn't test the IR send. Should work though.

… June 6th 2020 (Add support for Midea24 protocol)
…ng an upgrade of the IR lib from one commit to another, and not applying Sming specific changes
@slaff slaff added this to the 4.2.0 milestone Jun 6, 2020
@slaff slaff merged commit 289dd1b into SmingHub:develop Jun 7, 2020
@slaff slaff removed the 3 - Review label Jun 7, 2020
This was referenced Jun 7, 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.

None yet

2 participants