Fixed several issues:
- ADC has now averaging - Pause screen added - Fixed display glitches for most parts git-svn-id: https://svn.vbchaos.nl/svn/hsb/trunk@258 05563f52-14a8-4384-a975-3d1654cca0fa
This commit is contained in:
@@ -103,4 +103,7 @@ extern ErrorStatus hsb_solenoidLock (void);
|
||||
*/
|
||||
extern ErrorStatus hsb_solenoidUnlock (void);
|
||||
|
||||
|
||||
extern ErrorStatus hsb_enableSafety(void);
|
||||
extern ErrorStatus hsb_disableSafety(void);
|
||||
#endif /* HSB_MRTS_H_ */
|
||||
|
||||
@@ -71,6 +71,7 @@ typedef enum
|
||||
REPAIR_RUNNING,
|
||||
REPAIR_ASK_PAUSE,
|
||||
REPAIR_PAUSE,
|
||||
FINISH_CONTROL,
|
||||
FINISH,
|
||||
ERROR_STATE,
|
||||
WARNING_STATE,
|
||||
|
||||
@@ -94,6 +94,7 @@ struct RepairProcess
|
||||
int TaskPriority;
|
||||
uint16_t stackSize;
|
||||
bool runTask;
|
||||
bool taskIsDeleted;
|
||||
SemaphoreHandle_t secondsSyncronisation;
|
||||
uint32_t startTime;
|
||||
uint32_t secondsCounter;
|
||||
@@ -181,16 +182,16 @@ extern void repairProcess_feedSecondsCounterFromISR(struct RepairProcess* self);
|
||||
|
||||
/** ----------------------------------------------------------------------------
|
||||
* repairProcess_getRemainingRepairTime
|
||||
* Returns the currently remaining repair time in a struct Time
|
||||
* Returns the currently remaining repair time in seconds
|
||||
*
|
||||
* @param self The repair process object
|
||||
*
|
||||
* @return struct Time The remaining repair time
|
||||
* @return uint32_t The remaining repair time
|
||||
*
|
||||
* @todo
|
||||
* -----------------------------------------------------------------------------
|
||||
*/
|
||||
extern struct Time repairProcess_getRemainingRepairTime(const struct RepairProcess* self);
|
||||
extern uint32_t repairProcess_getRemainingRepairTime(const struct RepairProcess* self);
|
||||
|
||||
|
||||
/** ----------------------------------------------------------------------------
|
||||
@@ -219,6 +220,6 @@ extern struct RepairProcessRow* repairProcess_getRowInformation(const struct Rep
|
||||
* @todo
|
||||
* -----------------------------------------------------------------------------
|
||||
*/
|
||||
extern struct Observable* repairProcess_getObservable(struct RepairProcess* self);
|
||||
extern const struct Observable* repairProcess_getObservable(struct RepairProcess* self);
|
||||
|
||||
#endif /* REPAIRPROCESS_H_ */
|
||||
|
||||
Reference in New Issue
Block a user