Fixed some major issues with RAM shortage. Also moved the cached storage to a MALLOC design instead of fixed memory usage. Using freertos porteds malloc and free required to move to HEAP4 to make sure memory does not get fragmented.
Resized nearly all task stacks Also: - Menu fixes for insertion. Almost done, just need to fix the negative voltage insertion for mcp and cathode - Added Device parameters, must be filled in git-svn-id: https://svn.vbchaos.nl/svn/hsb/trunk@271 05563f52-14a8-4384-a975-3d1654cca0fa
This commit is contained in:
@@ -37,7 +37,9 @@
|
||||
// Constant and macro definitions
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
#define REPAIR_PRESET_MAX_STAGES (2)
|
||||
#define REPAIR_PRESET_MAX_STAGES (2)
|
||||
#define REPAIR_PRESET_MAX_ONE_STAGE_PRESETS (6)
|
||||
#define REPAIR_PRESET_MAX_TWO_STAGE_PRESETS (3)
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
// Type definitions.
|
||||
@@ -82,4 +84,46 @@ struct RepairPreset
|
||||
*/
|
||||
extern ErrorStatus RepairPreset_generateDefaultPreset(struct RepairPreset* self, unsigned int presetNumber);
|
||||
|
||||
|
||||
/** ----------------------------------------------------------------------------
|
||||
* RepairPreset_setSoftstartValue
|
||||
* Description of function
|
||||
*
|
||||
* @param self
|
||||
* @param value
|
||||
* @return void
|
||||
*
|
||||
* @todo
|
||||
* -----------------------------------------------------------------------------
|
||||
*/
|
||||
extern void RepairPreset_setSoftstartValue(struct RepairPresetParameters* self, unsigned int value);
|
||||
|
||||
|
||||
/** ----------------------------------------------------------------------------
|
||||
* RepairPreset_setSoftstartValue
|
||||
* Description of function
|
||||
*
|
||||
* @param self
|
||||
* @param value
|
||||
* @return void
|
||||
*
|
||||
* @todo
|
||||
* -----------------------------------------------------------------------------
|
||||
*/
|
||||
extern void RepairPreset_setDurationValue(struct RepairPresetParameters* self, unsigned int value);
|
||||
|
||||
|
||||
/** ----------------------------------------------------------------------------
|
||||
* RepairPreset_setSoftstartValue
|
||||
* Description of function
|
||||
*
|
||||
* @param self
|
||||
* @param value
|
||||
* @return void
|
||||
*
|
||||
* @todo
|
||||
* -----------------------------------------------------------------------------
|
||||
*/
|
||||
extern void RepairPreset_setVoltageValue(struct RepairPresetParameters* self, int value);
|
||||
|
||||
#endif /* REPAIRPRESET_H_ */
|
||||
|
||||
Reference in New Issue
Block a user