Tool/software: Code Composer Studio
Hello,
The following code is copied from the TIVA C Launchpad workshop Lab 14:
#include "stdint.h"
#include "stdbool.h"
#include "inc/hw_memmap.h"
#include "inc/hw_ints.h"
#include "driverlib/debug.h"
#include "driverlib/gpio.h"
#include "driverlib/interrupt.h"
#include "driverlib/pin_map.h"
#include "driverlib/rom.h"
#include "driverlib/sysctl.h"
#include "sensorlib/hw_isl29023.h"
#include "sensorlib/i2cm_drv.h"
#include "sensorlib/isl29023.h"
#define DEBUG
My question is about the last line (marked in red)
I've never seen #define used in such a way...I'm used to something as follows:
#define DEBUG some_number
Is this a typo ?