Skip to content

Commit

Permalink
Updated example plugin(s).
Browse files Browse the repository at this point in the history
  • Loading branch information
terjeio committed Jan 7, 2025
1 parent 5c48c19 commit a7c6f53
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions my_plugin/hpgl/motori.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
#include "grbl/motion_control.h"
#include "grbl/state_machine.h"

#define VERSION "v0.09"
#define VERSION "0.10"
#define DC_VALUES_MAX 12

typedef enum {
Expand Down Expand Up @@ -1027,7 +1027,7 @@ static void report_options (bool newopt)
on_report_options(newopt);

if(!newopt)
hal.stream.write("[PLUGIN:HPGL " VERSION ASCII_EOL);
report_plugin("HPGL", VERSION);
}

status_code_t hpgl_start (sys_state_t state, char *args)
Expand All @@ -1044,7 +1044,7 @@ status_code_t hpgl_start (sys_state_t state, char *args)
base_handler = stream_insert_buffer;
enqueue_realtime_command = hal.stream.set_enqueue_rt_handler(base_handler);

stream.write("Motori HPGL " VERSION ASCII_EOL);
stream.write("Motori HPGL v" VERSION ASCII_EOL);

if(on_execute_realtime == NULL) {
on_execute_realtime = grbl.on_execute_realtime;
Expand All @@ -1060,7 +1060,7 @@ status_code_t hpgl_start (sys_state_t state, char *args)

void hpgl_boot (void *data)
{
hpgl_start(state, NULL);
hpgl_start(state_get(), NULL);
}

const sys_command_t hpgl_command_list[] = {
Expand Down

0 comments on commit a7c6f53

Please sign in to comment.