Elite 1.4-re try to fix IV plot

This commit is contained in:
alan
2019-08-20 20:37:14 +08:00
parent c39075eff8
commit c68f34a48a
@@ -156,12 +156,10 @@ static void Notify_IV(uint16_t Voltage)
int32_t RealC;
RealV = DAC_to_realV(Voltage);
NotifyVolt[0] = (uint8_t) (RealV >> 24);
NotifyVolt[1] = (uint8_t) ((RealV & 0x00FF0000) >> 16);
NotifyVolt[2] = (uint8_t) ((RealV & 0x0000FF00) >> 8);
NotifyVolt[3] = (uint8_t) (RealV & 0x000000FF);
}
static void fxn_Gen() {}
@@ -950,7 +948,7 @@ static void EliteNotifyControl(){
// if (SampleRate_counter == SampleRate) {
// SendNotify();
// }
if (StepTimeCounter == StepTime) {
if (SampleRate_counter == SampleRate) {
SendNotify();
}