Skip to content

Commit

Permalink
mathieucarbou/MycilaPulseAnalyzer @ 3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieucarbou committed Dec 1, 2024
1 parent 0213601 commit 14f3da7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/MycilaDimmer/MycilaDimmer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,6 @@ uint16_t Mycila::Dimmer::_lookupPhaseDelay(float dutyCycle) {
return (delay * _semiPeriod) >> 16; // scale to period
}

void ARDUINO_ISR_ATTR Mycila::Dimmer::onZeroCross(void* arg) {
void ARDUINO_ISR_ATTR Mycila::Dimmer::onZeroCross(int16_t delay, void* arg) {
Thyristor::zero_cross_int(arg);
}
2 changes: 1 addition & 1 deletion lib/MycilaDimmer/MycilaDimmer.h
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ namespace Mycila {
*
* pulseAnalyzer.onZeroCross(Mycila::Dimmer::onZeroCross);
*/
static void onZeroCross(void* args);
static void onZeroCross(int16_t delay, void* args);

private:
bool _enabled = false;
Expand Down
2 changes: 1 addition & 1 deletion platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ lib_deps =
mathieucarbou/MycilaLogger @ 3.2.1
mathieucarbou/MycilaMQTT @ 6.0.4
mathieucarbou/MycilaNTP @ 6.0.4
mathieucarbou/MycilaPulseAnalyzer @ 2.5.0
mathieucarbou/MycilaPulseAnalyzer @ 3.0.0
mathieucarbou/MycilaPZEM004Tv3 @ 5.0.0
mathieucarbou/MycilaRelay @ 4.0.1
mathieucarbou/MycilaSystem @ 4.0.0
Expand Down

0 comments on commit 14f3da7

Please sign in to comment.