mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-10-29 17:54:14 +08:00
Fix bug in usage of CONST segment in banked code. Use #pragma constseg
This commit is contained in:
1 parent
58c21a1986
commit
7546d0c685
15 files changed
+15
-7
No files matched your search
@@ -18,6 +18,7 @@
|
||||
#include "uip/uip.h"
|
||||
|
||||
#pragma codeseg BANK1
|
||||
#pragma constseg BANK1
|
||||
|
||||
extern __xdata uint8_t minPort;
|
||||
extern __xdata uint8_t maxPort;
|
||||
|
||||
Reference in new issue
Block a user