summaryrefslogtreecommitdiff
path: root/status.c
diff options
context:
space:
mode:
Diffstat (limited to 'status.c')
-rw-r--r--status.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/status.c b/status.c
index bdc0a4b..c8b0abe 100644
--- a/status.c
+++ b/status.c
@@ -20,7 +20,10 @@ cStatusBlock::cStatusBlock(void):
void cStatusBlock::ChannelSwitch(const cDevice *Device, int ChannelNumber)
{
int current_channel=cDevice::CurrentChannel();
-
+#ifdef LOGGING
+ int device_number=Device->DeviceNumber();
+#endif
+
if (cSetupBlock::LastChannel==0)
{
#ifdef LOGGING