获取大值

支持芯片: SHMICTRL系列芯片 ESP32-S3系列

int max(int a,int b);
返回: a,b 之间的大值

示例

n=max(1,2); //=2

备注