* phosphor-pid-control
@ 2019-04-02 12:43 George Liu (刘锡伟)
2019-04-02 15:44 ` phosphor-pid-control James Feist
0 siblings, 1 reply; 2+ messages in thread
From: George Liu (刘锡伟) @ 2019-04-02 12:43 UTC (permalink / raw)
To: openbmc; +Cc: venture
[-- Attachment #1: Type: text/plain, Size: 493 bytes --]
Hi, All:
Excuse me, I have a problem, 727 lines of dbus/dbusconfiguration.cpp in the phosphor-pid-control code,
which I think is info.stepwiseInfo.NegativeHysteresis, as follows:
If (findPosHyst != base.end())
{
info.stepwiseInfo.positiveHysteresis = std::visit(
VariantToDoubleVisitor(), findPosHyst->second);
}
If (findNegHyst != base.end())
{
info.stepwiseInfo.positiveHysteresis = std::visit(
VariantToDoubleVisitor(), findNegHyst->second);
}
What do you think?
Thanks!
[-- Attachment #2: Type: text/html, Size: 3546 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: phosphor-pid-control
2019-04-02 12:43 phosphor-pid-control George Liu (刘锡伟)
@ 2019-04-02 15:44 ` James Feist
0 siblings, 0 replies; 2+ messages in thread
From: James Feist @ 2019-04-02 15:44 UTC (permalink / raw)
To: George Liu (刘锡伟), openbmc; +Cc: venture
On 4/2/19 5:43 AM, George Liu (刘锡伟) wrote:
> Hi, All:
>
> Excuse me, I have a problem, 727 lines of dbus/dbusconfiguration.cpp in
> the phosphor-pid-control code,
>
> which I think is info.stepwiseInfo.NegativeHysteresis, as follows:
>
> If (findPosHyst != base.end())
>
> {
>
> info.stepwiseInfo.positiveHysteresis = std::visit(
>
> VariantToDoubleVisitor(), findPosHyst->second);
>
> }
>
> If (findNegHyst != base.end())
>
> {
>
> info.stepwiseInfo.positiveHysteresis = std::visit(
>
> VariantToDoubleVisitor(), findNegHyst->second);
>
> }
>
> What do you think?
Good catch, fix is here:
https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-pid-control/+/20031
-James
>
> Thanks!
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-04-02 15:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-02 12:43 phosphor-pid-control George Liu (刘锡伟)
2019-04-02 15:44 ` phosphor-pid-control James Feist
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.