Changeset 4 in svn
- Timestamp:
- Mar 10, 2015 6:08:18 PM (11 years ago)
- Location:
- trunk/zasc/app_c
- Files:
-
- 2 edited
-
DST_WinEngineerMenu.c (modified) (1 diff)
-
dst_eroum_interface.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/zasc/app_c/DST_WinEngineerMenu.c
r2 r4 177 177 this->DrawText(this, 2, 22, this->rect.w, 20, strText[0], &(this->font)); 178 178 179 #ifdef DSTAR 180 #else 179 181 sprintf(strText[1], "FrontEnd: %s, SNR: %ddB, PowerLevel: %ddBmV", bLock?(char*)"lock":(char*)"unlock", snr/256, ((origin_power_level)/2)-60); 182 #endif 180 183 this->DrawText(this, 2, 42, this->rect.w, 20, strText[1], &(this->font)); 181 184 -
trunk/zasc/app_c/dst_eroum_interface.c
r2 r4 1380 1380 { 1381 1381 if (size <= 0) return 0; 1382 #ifdef DSTAR 1383 void *p = malloc(size); 1384 #else 1382 1385 void *p = OS_Malloc(size); 1386 #endif 1387 1383 1388 memset(p, 0, size); 1384 1389 return p; … … 1392 1397 void DST_OS_FreeDirect( void *ptr) // free 1393 1398 { 1399 #ifdef DSTAR 1400 free(ptr); 1401 #else 1394 1402 OS_FreeDirect(ptr); 1403 #endif 1395 1404 } 1396 1405
Note: See TracChangeset
for help on using the changeset viewer.
