Src/radio/Lora.h
@@ -3,6 +3,7 @@ #include <stdint.h> #include <stdbool.h> #include "stm32l0xx.h" void OnTxTimeout( void ); void OnRxTimeout( void ); void OnRxError( void ); @@ -35,10 +36,18 @@ #define REPORT_MANGE_CHANNEL_FRQ 478 #define REPORT_CHANNEL_SF 7 #endif #ifndef _NO_HANGJIN #define APP2_ADRESS 0X8013800 #define APP1_ADRESS 0X8007800 #define APP_SIZE 0XC000 #else #define APP2_ADRESS 0X8012400 #define APP1_ADRESS 0X8005000 #define APP_SIZE 0XD400 #endif #define APP_1OR2_ADRESS 0x8004B38