Add lint check for integer constants (#775)

This commit is contained in:
Otto Winter
2019-10-19 22:31:32 +02:00
committed by GitHub
parent 4fa11dfa68
commit b59cf6572b
3 changed files with 21 additions and 7 deletions
+2 -2
View File
@@ -4,11 +4,11 @@
#include "esphome/components/uart/uart.h"
#include "esphome/core/automation.h"
#define SIM800L_READ_BUFFER_LENGTH 255
namespace esphome {
namespace sim800l {
const uint8_t SIM800L_READ_BUFFER_LENGTH = 255;
enum State {
STATE_IDLE = 0,
STATE_INIT,