Define RF_ID in platformio.ini file instead of main.cpp

This commit is contained in:
2024-04-04 20:53:58 +11:00
parent 460307e608
commit 6e523b3588
2 changed files with 1 additions and 4 deletions

View File

@@ -6,10 +6,6 @@
#define SER_BAUDRATE (115200)
// Copied from Powerview Hub userdata API
// eg: http://POWERVIEW_HUB_IP_ADDRESS/api/userdata/ and find the field labeled "rfID"
#define RF_ID (0x2EC8)
RFPowerView powerView(RF_CE_PIN, RF_CS_PIN, RF_IRQ_PIN, RF_ID);
void processBuffer(const uint8_t*);