Add missing parantheses

This commit is contained in:
Rihards Skuja 2018-01-17 18:08:58 +02:00
parent f1981eb27b
commit a23fa2ca9f
No known key found for this signature in database
GPG Key ID: 53FA13A3F7F8571B
2 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@ TARGET = main
SRC = $(wildcard $(SRC_DIR)/*.c)
OBJ = $(SRC:$(SRC_DIR)/%.c=$(OBJ_DIR)/%.o)
LST = $(SRC:$(SRC_DIR)/%.c=$(BUILD_DIR)/%.lst)
OPT = s
OPT = s
# Name of this Makefile (used for "make depend").
MAKEFILE = Makefile
@ -98,7 +98,7 @@ AVRDUDE_PROGRAMMER = usbasp
AVRDUDE_PORT = usb
AVRDUDE_WRITE_FLASH = -U flash:w:$(BUILD_DIR)/$(TARGET).hex
#AVRDUDE_WRITE_EEPROM = -U eeprom:w:$(TARGET).eep
#AVRDUDE_WRITE_EEPROM = -U eeprom:w:$(TARGET).eep
# Uncomment the following if you want avrdude's erase cycle counter.

View File

@ -7,6 +7,6 @@
#define SET(var, mask) ((var) |= (uint8_t)BIT(mask))
#define CLR(var, mask) ((var) &= (uint8_t)~(BIT(mask)))
#define CHK(var, mask) ((var) & (uint8_t)BIT(mask))
#define TOG(var, mask) ((var) ^= (uint8_t)BIT(mask)
#define TOG(var, mask) ((var) ^= (uint8_t)BIT(mask))
#endif /* COMMON_H */