Change C18 to be 0603 - 25V and rotate on PCB for easier soldering; Small logging changes; Speed step enums are actually used now for better clarity; Introduced cv_setup_check_done and flash_safe_execute_core_init_done flags for coordinating the two cores better; Incremented version no. CV_7 to 2;

This commit is contained in:
gab-k committed 2024-12-31 07:55:14 +01:00
1 parent 0462d3f6b7
commit f1961fa5bd
7 files changed
+868 -896

No files matched your search

+5 -3
View File
@@ -309,8 +309,10 @@ typedef enum {
extern repeating_timer_t pid_control_timer;
extern repeating_timer_t speed_helper_timer;
extern const uint8_t *CV_ARRAY_FLASH;
extern uint8_t speed_step_target;
extern uint8_t speed_step_target_prev;
extern speed_step_t speed_step_target;
extern speed_step_t speed_step_target_prev;
extern bool cv_setup_check_done;
extern bool flash_safe_execute_core_init_done;
void core1_entry();
@@ -347,7 +349,7 @@ uint16_t get_16bit_CV (uint16_t CV_start_index);
* @param speed_step The speed step byte.
* @return `DIRECTION_FORWARD` for forward direction, `DIRECTION_REVERSE` for reverse direction.
*/
direction_t get_direction_of_speed_step(uint8_t speed_step);
direction_t get_direction_of_speed_step(speed_step_t speed_step);
void set_error(error_t err);