Elite 1.4-re try to fix IV plot
This commit is contained in:
+1
-3
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user