Skip to content

Commit 3331ef6

Browse files
committed
refacting code
1 parent 984a393 commit 3331ef6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mdb-slave-esp32s3/main/mdb-slave-esp32s3.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ void mdb_loop(void *pvParameters) {
236236
} else if (vend_approved_todo) {
237237
vend_approved_todo = false;
238238

239-
uint16_t vendAmount= to_scale_factor(0.00, 1, 2);
239+
uint16_t vendAmount= to_scale_factor(0.00 /*vend request itemPrice*/, 1, 2);
240240

241241
mdb_payload[0] = 0x05; // Vend Approved
242242
mdb_payload[1] = vendAmount >> 8; // Vend Amount

0 commit comments

Comments
 (0)