Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
pousseseringue-arduino
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FabLAAS
PousseSeringue
pousseseringue-arduino
Commits
c3b6a18c
Commit
c3b6a18c
authored
1 year ago
by
Malaurie Bernard
Browse files
Options
Downloads
Patches
Plain Diff
Avoid the uused Warning for every param argument
parent
da59e386
No related branches found
No related tags found
1 merge request
!17
Malaurie's work on UI + CLI interface + AccelStepper interface
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
web.cpp
+11
-11
11 additions, 11 deletions
web.cpp
with
11 additions
and
11 deletions
web.cpp
+
11
−
11
View file @
c3b6a18c
...
...
@@ -148,7 +148,7 @@ void stop_syringe_pump_callback (Control* sender, int value, void* param)
-Return : /
-Action : Linking the switch of the syringe pump status and the actions.
***/
{
{
(
void
)
param
;
//Avoid the unused Warning
syringe_pump_off
();
Serial
.
println
(
"Syringe_pump stopped"
);
...
...
@@ -163,7 +163,7 @@ void syringe_filled_placement_callback (Control* sender, int value, void* param)
-Return : /
-Action : Linking the switch of the syringe filled status(placed or not) and the actions.
***/
{
{
(
void
)
param
;
//Avoid the unused Warning
switch
(
value
)
{
case
S_ACTIVE
:
...
...
@@ -337,7 +337,7 @@ void volume_exchange_mL_callback (Control* sender, int value, void* param)
-Return : /
-Action : Enable to choose the volume that woud be exchanged.
***/
{
{
(
void
)
param
;
//Avoid the unused Warning
syringe_filled
.
set_exchange_volume_mL
(
atof
(
sender
->
value
.
c_str
()));
syringe_filled
.
write_Json
();
...
...
@@ -357,7 +357,7 @@ void exchange_throughtput_uL_per_sec_callback (Control* sender, int value, void*
-Return : /
-Action : Enable to choose the volume that woud be exchanged.
***/
{
{
(
void
)
param
;
//Avoid the unused Warning
syringe_filled
.
set_exchange_throughput_uL_per_sec
(
atof
(
sender
->
value
.
c_str
()));
syringe_filled
.
write_Json
();
...
...
@@ -379,7 +379,7 @@ void switch_push_pull_choice_callback (Control* sender, int value, void* param)
-Action : Change the label_push_pull_choice to display the choice.
Change the style of the controller involved.
***/
{
{
(
void
)
param
;
//Avoid the unused Warning
switch
(
value
)
{
...
...
@@ -432,7 +432,7 @@ void remaining_volume_mL_callback (Control* sender, int value, void* param)
-Return : /
-Action : Linking the display with the current volume remaining.
***/
{
{
(
void
)
param
;
//Avoid the unused Warning
ESPUI
.
updateSlider
(
remaining_volume_mL
,
syringe_filled
.
get_remaining_volume_mL
());
}
...
...
@@ -443,13 +443,13 @@ void remaining_time_sec_callback (Control* sender, int value, void* param)
-Return : /
-Action : Linking the display with the current time remaining for the exchange.
***/
{
{
(
void
)
param
;
//Avoid the unused Warning
float
remaining_time_sec_value
=
syringe_filled
.
get_remaining_volume_mL
()
/
syringe_filled
.
get_exchange_throughput_uL_per_sec
();
ESPUI
.
updateSlider
(
remaining_time_sec
,
remaining_time_sec_value
);
}
void
start_exchange_callback
(
Control
*
sender
,
int
value
,
void
*
param
)
{
{
(
void
)
param
;
//Avoid the unused Warning
syringe_pump_on
();
Serial
.
println
(
"Exchange start"
);
...
...
@@ -461,7 +461,7 @@ void start_exchange_callback (Control* sender, int value, void* param)
void
initial_volume_mL_callback
(
Control
*
sender
,
int
value
,
void
*
param
)
{
{
(
void
)
param
;
//Avoid the unused Warning
syringe_filled
.
set_remaining_volume_mL
((
sender
->
value
).
toFloat
());
Serial
.
println
(
"syringe_initial_volume (sender->value)"
);
...
...
@@ -481,7 +481,7 @@ void choose_syringe_callback (Control* sender, int value, void* param)
-Return : /
-Action : Print the value of the button state via the serial port.
***/
{
{
(
void
)
param
;
//Avoid the unused Warning
switch
(
value
)
{
case
B_DOWN
:
...
...
@@ -568,7 +568,7 @@ void add_syringe_callback (Control* sender, int value, void* param)
-Action : Print the value of the button state via the serial port.
Enable to save data in the syringe_json file.
***/
{
{
(
void
)
param
;
//Avoid the unused Warning
switch
(
value
)
{
case
B_DOWN
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment