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
@@ -15,6 +15,7 @@
|
||||
#include "phy.h"
|
||||
|
||||
#pragma codeseg BANK1
|
||||
#pragma constseg BANK1
|
||||
|
||||
extern __code uint8_t * __code hex;
|
||||
extern __code uint16_t bit_mask[16];
|
||||
|
||||
Reference in new issue
Block a user