no more define

This commit is contained in:
Thomas Sax 2023-12-16 09:36:53 +01:00
parent 13ff32b108
commit 1811842082

View File

@ -39,9 +39,10 @@ V4.0 6.9.2023: activating DC-Bootloader in slve-lib (SM)
#include "controlBus.h"
#include "storeINdata.h"
#include "dcBL.h"
#include "interfaces.h"
//#include <../plugins/interfaces.h>
#include "shared_mem_buffer.h"
#include "runProc.h"
#include "interfaces.h"
/*
@ -74,9 +75,7 @@ V4.0 6.9.2023: activating DC-Bootloader in slve-lib (SM)
//#undef THIS_IS_CA_MASTER
//for CAmaster:
#ifndef THIS_IS_CA_MASTER
#define THIS_IS_CA_MASTER
#endif
//#define THIS_IS_CA_MASTER
@ -1300,8 +1299,15 @@ public:
uint8_t bna_getCurrentNotes(uint16_t latestBill, uint16_t *currentNotes) const override;
// returns number of collected bank notes since start-command (current transaction)
// latestBill: last accepted bank note, value in cent
// currentNotes an array with up to 16 (further) notes collected
// return value: numbers of bills or 99 in case of error
// latestBill: not used
// in case of error: currentNotes[0,1,2,3] = 1..4 error number(s)
// in normal case:
// currentNotes[0]: last bill in cent (e.g. 1000 = 10€)
// currentNotes[1]: bin 1 = bill is still in escrow else bill is stacked
// note: by now (dec2023) escrow is not used, bills always go to stacker (box)
// currentNotes[2]: total sum of bills in cent, low word (16bit)
// currentNotes[3]: total sum of bills in cent, high word (16bit)
void bna_requestStackerLevel(void) const override;