Move mobile phone specific code from libcommon.a to libmobile.a
This commit is contained in:
@@ -90,6 +90,7 @@ void sms_deliver_report(nmt_t *nmt, uint8_t ref, int error, uint8_t cause)
|
||||
printf("(got deliver report from SMS layer)\n");
|
||||
}
|
||||
|
||||
extern void main_mobile();
|
||||
|
||||
int main(void)
|
||||
{
|
||||
@@ -97,6 +98,9 @@ int main(void)
|
||||
int i;
|
||||
int rc;
|
||||
|
||||
/* this is never called, it forces the linker to add mobile functions */
|
||||
if (debuglevel == -1000) main_mobile();
|
||||
|
||||
debuglevel = DEBUG_DEBUG;
|
||||
|
||||
nmt = calloc(sizeof(*nmt), 1);
|
||||
|
Reference in New Issue
Block a user