Skip to content

Commit

Permalink
K1100 dev kit add USB Serial
Browse files Browse the repository at this point in the history
  • Loading branch information
Pillar1989 committed Aug 10, 2022
1 parent c9d1989 commit cc22575
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/disk91_LoRaE5.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1121,6 +1121,7 @@ bool Disk91_LoRaE5::setup_sensecap( // Setup the LoRaWAN stack
) {
char _cmd[128];
bool ret = true;
// sendATCommand("AT+ID=DevEui","","+ID: ERROR","",1000,false,NULL);
sendATCommand("AT+UART=TIMEOUT,0","+UART: TIMEOUT","","",this->atTimeout,false, NULL);
// Setup region
if ( this->currentZone != zone ) {
Expand Down
7 changes: 6 additions & 1 deletion src/disk91_LoRaE5.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,15 @@

#define __DSKLORAE5_NONDCZONE_DC 0 // Eventually force a duty cycle when a zone does not have one


#ifdef SEEED_K1100_DEV_KIT
#ifndef LOGSERIAL
#define LOGSERIAL Adafruit_USBD_CDC
#endif
#else
#ifndef LOGSERIAL
#define LOGSERIAL Uart
#endif
#endif

// ==========================================================
// Disk91_LoRaE5
Expand Down

0 comments on commit cc22575

Please sign in to comment.