Commit f7f11d52 authored by Aurelio Colosimo's avatar Aurelio Colosimo

proto-ext-whiterabbit: do not compile pre-master and passive state

Pre-Master and Passive state are not used in the current implementation
of WR protocol, so do not compile nor link them, in order to save space
Signed-off-by: Aurelio Colosimo's avatarAurelio Colosimo <aurelio@aureliocolosimo.it>
parent 8a5a24f4
......@@ -12,9 +12,7 @@ OBJ-libwr := $W/fsm-table.o \
$W/state-faulty.o \
$W/state-disabled.o \
$W/state-listening.o \
$W/state-pre-master.o \
$W/state-master.o \
$W/state-passive.o \
$W/state-uncalibrated.o \
$W/state-slave.o \
$W/common-fun.o \
......
......@@ -16,9 +16,9 @@ struct pp_state_table_item pp_state_table[] __weak = {
{ PPS_FAULTY, "faulty", pp_faulty,},
{ PPS_DISABLED, "disabled", pp_disabled,},
{ PPS_LISTENING, "listening", pp_listening,},
{ PPS_PRE_MASTER, "pre-master", pp_pre_master,},
/*{ PPS_PRE_MASTER, "pre-master", pp_pre_master,},*/
{ PPS_MASTER, "master", pp_master,},
{ PPS_PASSIVE, "passive", pp_passive,},
/*{ PPS_PASSIVE, "passive", pp_passive,},*/
{ PPS_UNCALIBRATED, "uncalibrated", pp_uncalibrated,},
{ PPS_SLAVE, "slave", pp_slave,},
{ WRS_PRESENT, "uncalibrated/wr-present", wr_present,},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment